@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)
UserInfoServicegetByUsername in interface UserInfoServicepublic UserInfo getByUsernameAndClientId(String username, String clientId)
UserInfoServicegetByUsernameAndClientId in interface UserInfoServicepublic UserInfo getByEmailAddress(String email)
UserInfoServicegetByEmailAddress in interface UserInfoServiceCopyright © 2018. All rights reserved.