November 2017
Intermediate to advanced
542 pages
14h 24m
English
The PreAuthenticatedGrantedAuthoritiesUserDetailsService interface removed createuserDetails in favor of createUserDetails.
The new method has a correction in the case (U instead of u).
This means that if you have a subclass of the PreAuthenticatedGrantedAuthoritiesUserDetailsService class that overrides the createuserDetails, SubclassPreAuthenticatedGrantedAuthoritiesUserDetailsService extends PreAuthenticatedGrantedAuthoritiesUserDetailsService.
{ @Override protected UserDetails createuserDetails(Authentication token, Collection<? extends GrantedAuthority> authorities) { // customize }}
It should be changed to override createUserDetails:
public class SubclassPreAuthenticatedGrantedAuthoritiesUserDetailsService ...
Read now
Unlock full access