@Service public class DefaultUserInfoService extends Object implements UserInfoService
Constructor and Description |
---|
DefaultUserInfoService() |
Modifier and Type | Method and Description |
---|---|
UserInfo |
getByEmailAddress(String email)
Get the user registered at this server with the given email address.
|
UserInfo |
getByUsername(String username)
Get the UserInfo for the given username (usually maps to the
preferredUsername field).
|
UserInfo |
getByUsernameAndClientId(String username,
String clientId)
Get the UserInfo for the given username (usually maps to the
preferredUsername field) and clientId.
|
public DefaultUserInfoService()
public UserInfo getByUsername(String username)
UserInfoService
getByUsername
in interface UserInfoService
public UserInfo getByUsernameAndClientId(String username, String clientId)
UserInfoService
getByUsernameAndClientId
in interface UserInfoService
public UserInfo getByEmailAddress(String email)
UserInfoService
getByEmailAddress
in interface UserInfoService
Copyright © 2018. All rights reserved.