<bean id="siteminderFilter" class=
"org.springframework.security.web.authentication.preauth.RequestHeaderAuthenticationFilter">
<property name="principalRequestHeader" value="SM_USER"/>
<property name="authenticationManager" ref="authenticationManager" />
<property name="authenticationDetailsSource" ref="authenticationDetailsSource" />
</bean>
<bean id="authenticationDetailsSource" class="CustomAuthenticationDetailsSource">
<property name="mappableRolesRetriever">
<bean class="CustomMappableRolesRetriever">
</bean>
</property>
</bean>
<bean id="preauthAuthProvider" class="org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider">
<property name="preAuthenticatedUserDetailsService">
<bean class="org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesUserDetailsService"></bean>
</property>
</bean>
Thursday, March 1, 2012
Spring security - pre authentication security mapping - Part 2 configuration
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment