Browse Source

Fixed preauth sample configuration to match recent changes in naming in core code.

2.0.x
Luke Taylor 18 years ago
parent
commit
9a02b9862e
  1. 12
      samples/preauth/src/main/webapp/WEB-INF/applicationContext-security.xml

12
samples/preauth/src/main/webapp/WEB-INF/applicationContext-security.xml

@ -53,12 +53,8 @@ @@ -53,12 +53,8 @@
</bean>
<bean id="authenticationDetailsSource" class="org.springframework.security.ui.preauth.j2ee.J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource">
<property name="j2eeMappableRolesRetriever">
<ref local="j2eeMappableRolesRetriever"/>
</property>
<property name="j2eeUserRoles2GrantedAuthoritiesMapper">
<ref local="j2eeUserRoles2GrantedAuthoritiesMapper"/>
</property>
<property name="mappableRolesRetriever" ref="j2eeMappableRolesRetriever"/>
<property name="userRoles2GrantedAuthoritiesMapper" ref="j2eeUserRoles2GrantedAuthoritiesMapper"/>
</bean>
<bean id="j2eeUserRoles2GrantedAuthoritiesMapper" class="org.springframework.security.authoritymapping.SimpleAttributes2GrantedAuthoritiesMapper">
@ -79,9 +75,7 @@ @@ -79,9 +75,7 @@
<bean id="servletContext" class="org.springframework.web.context.support.ServletContextFactoryBean"/>
<bean id="etf" class="org.springframework.security.ui.ExceptionTranslationFilter">
<property name="authenticationEntryPoint">
<ref local="preAuthenticatedProcessingFilterEntryPoint"/>
</property>
<property name="authenticationEntryPoint" ref="preAuthenticatedProcessingFilterEntryPoint"/>
</bean>
<bean id="httpRequestAccessDecisionManager" class="org.springframework.security.vote.AffirmativeBased">

Loading…
Cancel
Save