Announcement Announcement Module
Collapse
No announcement yet.
Cannot access GrantedAuthoritiesMapper in subclass of DaoAuthenticationProvider Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot access GrantedAuthoritiesMapper in subclass of DaoAuthenticationProvider

    Hi All,

    I tried to override createSuccessAuthentication in DaoAuthenticationProvider, but unfortunately, I cannot access authoritiesMapper (GrantedAuthoritiesMapper) in my own class. The field is private and there is no getter for it.
    I am using Spring Security 3.1.2


    Thanks

  • #2
    Feel free to create a JIRA to add an accessor. In the mean time you can override the setAuthoritiesMapper method and save an instance on the subclass.

    Comment

    Working...
    X