Переглянути джерело

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

Luke Taylor 17 роки тому
батько
коміт
9a02b9862e

+ 3 - 9
samples/preauth/src/main/webapp/WEB-INF/applicationContext-security.xml

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