@groovy.util.logging.Slf4j class DefaultOauthUserDetailsService
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.
Constructor and description |
---|
DefaultOauthUserDetailsService
() |
Type | Name and description |
---|---|
OauthUser |
loadUserByUserProfile(org.pac4j.core.profile.CommonProfile userProfile, java.util.Collection<org.springframework.security.core.GrantedAuthority> defaultRoles) |
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() |
Groovy Documentation