public class CommonProfile extends UserProfile
logger, SEPARATOR| Constructor and Description |
|---|
CommonProfile() |
CommonProfile(boolean canMergeAttributes)
Create a profile with possibility to merge attributes with the same name and collection-type values
|
| Modifier and Type | Method and Description |
|---|---|
java.security.Principal |
asPrincipal() |
java.lang.String |
getDisplayName()
Return the displayed name of the user.
|
java.lang.String |
getEmail()
Return the email of the user.
|
java.lang.String |
getFamilyName()
Return the family name of the user.
|
java.lang.String |
getFirstName()
Return the first name of the user.
|
Gender |
getGender()
Return the gender of the user.
|
java.util.Locale |
getLocale()
Return the locale of the user.
|
java.lang.String |
getLocation()
Return the location of the user.
|
java.net.URI |
getPictureUrl()
Return the url of the picture of the user.
|
java.net.URI |
getProfileUrl()
Return the url of the profile of the user.
|
java.lang.String |
getUsername()
Return the username of the user.
|
boolean |
isExpired() |
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, build, clearSensitiveData, containsAttribute, containsAuthenicationAttribute, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setPermissions, setRemembered, setRoles, toString, writeExternalpublic CommonProfile()
public CommonProfile(boolean canMergeAttributes)
canMergeAttributes - if true - merge attributes with the same name and collection-type values, if false - overwrite thempublic java.lang.String getEmail()
public java.lang.String getFirstName()
public java.lang.String getFamilyName()
public java.lang.String getDisplayName()
public java.lang.String getUsername()
public Gender getGender()
public java.util.Locale getLocale()
public java.net.URI getPictureUrl()
public java.net.URI getProfileUrl()
public java.lang.String getLocation()
public java.security.Principal asPrincipal()
public boolean isExpired()
Copyright © 2019. All Rights Reserved.