@groovy.util.logging.Slf4j @groovy.transform.CompileStatic class DefaultOauthUserDetailsService extends java.lang.Object
Builds an OauthUser. Delegates to the default UserDetailsService#loadUserByUsername(java.lang.String) where the username passed is org.pac4j.core.profile.UserProfile#getId(). If the user is not found, it will create a new one with the the default roles.
Type | Name and description |
---|---|
org.springframework.security.core.userdetails.UserDetailsChecker |
preAuthenticationChecks |
org.springframework.security.core.userdetails.UserDetailsService |
userDetailsService |
Type Params | Return Type | Name and description |
---|---|---|
|
OauthUser |
instantiateOauthUser(org.pac4j.core.profile.CommonProfile userProfile, java.util.Collection<org.springframework.security.core.GrantedAuthority> defaultRoles) |
|
OauthUser |
loadUserByUserProfile(org.pac4j.core.profile.CommonProfile userProfile, java.util.Collection<org.springframework.security.core.GrantedAuthority> defaultRoles) |
|
OauthUser |
loadUserByUserProfileWhenUserDomainClassIsSet(org.pac4j.core.profile.CommonProfile userProfile, java.util.Collection<org.springframework.security.core.GrantedAuthority> defaultRoles) |
|
java.lang.String |
userDomainClassName() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |