hi,All:
I know spring security 3.1 using spring3.0.7, I try to upgrade to spring3.1 because I need profile in spring3.1.
if I want http channel in develop and https in release :
I meet this error:Code:<beans:beans profile="dev,default"> <http auto-config="true" use-expressions="true"> <form-login login-processing-url="/resources/j_spring_security_check" login-page="/login" authentication-failure-url="/login?login_error=t" default-target-url='/'/> <logout logout-url="/resources/j_spring_security_logout" /> <!-- Configure these elements to secure URIs in your application --> <intercept-url pattern="/admin/**" access="permitAll" requires-channel="http"/> ..... </beans:beans> <beans:beans profile="release"> <http auto-config="true" use-expressions="true"> <form-login login-processing-url="/resources/j_spring_security_check" login-page="/login" authentication-failure-url="/login?login_error=t" default-target-url='/'/> <logout logout-url="/resources/j_spring_security_logout" /> <intercept-url pattern="/admin/**" access="hasRole('ROLE_ADMIN')" requires-channel="https"/>
when security will upgrade to spring3.1?Code:2012-07-23 16:30:00.899:WARN:oejuc.AbstractLifeCycle:FAILED springSecurityFilterChain: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'springSecurityFilterChain' is defined org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'springSecurityFilterChain' is defined


Reply With Quote