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

    Hi All,

    I am migrating the code from spring 2.0 to 3.0 and I defied the authentication provider. please see the code below.
    <security:authentication-manager alias="authenticationManager">

    <security:authentication-provider ref="preauthAuthProvider"></security:authentication-provider>

    </security:authentication-manager>

    but for some reason I am getting the ProviderNotFound exception. please help
    org.springframework.security.providers.ProviderNot FoundException: No AuthenticationProvider found for org.springframework.security.providers.preauth.Pre AuthenticatedAuthenticationToken

  • #2
    where is the declaration of bean preauthAuthProvider ?

    you are referencing it, but i don't see it declared. You have it somewhere else?

    Could we see the full stacktrace please?

    Thanks.

    Fede.

    Comment

    Working...
    X