Announcement Announcement Module
Collapse
No announcement yet.
No AuthenticationProvider found Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • No AuthenticationProvider found

    Hello:

    I am getting:

    org.springframework.security.authentication.Provid erNotFoundException: No AuthenticationProvider found for org.springframework.security.web.authentication.pr eauth.PreAuthenticatedAuthenticationToken


    but I have one declared ...

    HTML Code:
    	<beans:bean id="AAAAAAPreAuthenticationFilter" class="yyy.zzz.AAAAAAPreAuthenticationFilter">
        	    <beans:property name="authenticationManager" ref="authenticationManager" />
        	    <beans:property name="continueFilterChainOnUnsuccessfulAuthentication" value="false" />
        	    <beans:property name="checkForPrincipalChanges" value="true" />
      	</beans:bean>
    	
    	
     	<authentication-manager alias="authenticationManager" >
    		<authentication-provider ref="preauthAuthProvider" />
    	</authentication-manager>
    
    
            <beans:bean id="preauthAuthProvider" class="org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider">
    		<beans:property name="preAuthenticatedUserDetailsService" ref="xxxAuthenticationUserDetailsService"/>
    	</beans:bean>
    	
       <beans:bean id="xxxAuthenticationUserDetailsService" class="yyy.zzz.XXXAuthenticationUserDetailsService">
          	<beans:property name="xxxService" ref="xxxService"/>  
        </beans:bean>

    Any thoughts?
    Thanks
    Eric
Working...
X