Aug 23rd, 2012, 09:21 PM
Cannot access GrantedAuthoritiesMapper in subclass of DaoAuthenticationProvider
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
Aug 24th, 2012, 10:38 AM
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.