Spring security 安全框架配置文件和依赖

配置文件

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:security="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security.xsd">














login-page="/pages/login.jsp"
login-processing-url="/login"
default-target-url="/index.jsp"
authentication-failure-url="/pages/login.jsp"
/>

























依赖

org.springframework.security
spring-security-web
${spring.security.version}


org.springframework.security
spring-security-config
${spring.security.version}


org.springframework.security
spring-security-core
${spring.security.version}


org.springframework.security
spring-security-taglibs
${spring.security.version}
 

转载于:https://www.cnblogs.com/geng-geng1997/p/11358681.html

你可能感兴趣的:(java)