SEC-1399: Remove MockAuthenticationManager in app context file for FilterChainProxy tests.
This commit is contained in:
parent
ea7ccc718d
commit
26cf6f5528
|
@ -31,11 +31,17 @@ http://www.springframework.org/schema/security http://www.springframework.org/sc
|
|||
<bean id="sif" class="org.springframework.security.web.context.SecurityContextPersistenceFilter"/>
|
||||
|
||||
<bean id="apf" class="org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter">
|
||||
<property name="authenticationManager">
|
||||
<bean class="org.springframework.security.MockAuthenticationManager"/>
|
||||
</property>
|
||||
<property name="authenticationManager" ref="authenticationManager"/>
|
||||
</bean>
|
||||
|
||||
<sec:authentication-manager alias="authenticationManager">
|
||||
<sec:authentication-provider>
|
||||
<sec:user-service>
|
||||
<sec:user name="jemima" password="password" authorities="A"/>
|
||||
</sec:user-service>
|
||||
</sec:authentication-provider>
|
||||
</sec:authentication-manager>
|
||||
|
||||
<bean id="mockNotAFilter" class="org.springframework.security.web.util.AntUrlPathMatcher"/>
|
||||
|
||||
<bean id="filterChain" class="org.springframework.security.web.FilterChainProxy">
|
||||
|
|
Loading…
Reference in New Issue