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

This commit is contained in:
Luke Taylor 2008-03-23 23:03:28 +00:00
parent fe0e05a6c8
commit 9a02b9862e
1 changed files with 3 additions and 9 deletions

View File

@ -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 @@
<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">