ウェブ、xmlSecurity

<xmlのバージョン= "1.0"エンコード= "UTF-8"?>
の<web-appのxmlns:XSI = "http://www.w3.org/2001/XMLSchema-instance"
のxmlns = "のhttp:// javaのsun.comの/ XML / NS / JavaEEの"
XSI:のschemaLocation =" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5 .xsd」
バージョン= "2.5">
<文脈PARAM>
の<param-name>のcontextConfigLocation </ PARAM名>
の<param-value>のクラスパス:春のsecurity.xml </ PARAM値>
</コンテキストPARAM>
<聞き手>
<リスナークラス>
org.springframework.web.context.ContextLoaderListener
</リスナクラス>
</リスナー>
<フィルタ>
<フィルタ名>springSecurityFilterChain </フィルタ名>
<フィルタクラス> org.springframework.web.filter.DelegatingFilterProxy </フィルタクラス>
</フィルタ>
<のfilter-mapping>
<フィルタ名> springSecurityFilterChain </フィルタ名>
の<url-pattern> / * </ url-pattern>
</のfilter-mapping>
</ web-app>の

おすすめ

転載: www.cnblogs.com/lijun6/p/11853960.html