Results 1 to 2 of 2

Thread: Cannot access GrantedAuthoritiesMapper in subclass of DaoAuthenticationProvider

  1. #1

    Default 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. #2
    Join Date
    Jan 2008
    Posts
    1,833

    Default

    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.
    Rob Winch
    Twitter @rob_winch
    Spring Security Lead
    Spring by Pivotal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •