public class GaeUserServiceProfile extends CommonProfile
s class is the user profile for Google using UserService with appropriate getters.
It is returned by the GaeUserServiceClient
.
Method : | Through the attribute exchange extension : |
---|---|
The attributes of the CommonProfile |
|
String getEmail() | the email attribute |
String getDisplayName() | the username attribute from the userservice |
String getUsername() | null |
Gender getGender() | Gender.UNSPECIFIED |
Locale getLocale() | null |
String getPictureUrl() | null |
String getProfileUrl() | null |
String getLocation() | null |
GaeUserServiceClient
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
PAC4J_GAE_GLOBAL_ADMIN_ROLE |
USERNAME
logger, SEPARATOR
Constructor and Description |
---|
GaeUserServiceProfile() |
Modifier and Type | Method and Description |
---|---|
protected AttributesDefinition |
getAttributesDefinition()
Return the attributes definition for this user profile.
|
getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, clear, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
public static final String PAC4J_GAE_GLOBAL_ADMIN_ROLE
protected AttributesDefinition getAttributesDefinition()
UserProfile
getAttributesDefinition
in class UserProfile
Copyright © 2016. All rights reserved.