public class User extends EntityObject
Profiles, and then can choose to provide one of
these profiles when an openid client (relying party) requests the openid server to authenticate the user.| Modifier and Type | Method and Description |
|---|---|
void |
addProfile(Profile profile) |
boolean |
equals(Object o) |
Profile |
getDefaultProfile() |
Set<Profile> |
getProfiles() |
String |
getUsername() |
int |
hashCode() |
boolean |
hasProfile(Profile profile) |
boolean |
hasProfileNamed(String profileName) |
void |
removeProfile(Profile profile) |
void |
setDefaultProfile(Profile defaultProfile) |
void |
setProfiles(Set<Profile> profiles) |
void |
setUsername(String username) |
getCreatedDate, getId, getUpdatedDate, setCreatedDate, setId, setUpdatedDatepublic User()
public User(String username)
public String getUsername()
public void setUsername(String username)
public Profile getDefaultProfile()
public void setDefaultProfile(Profile defaultProfile)
public void addProfile(Profile profile)
public void removeProfile(Profile profile)
public boolean hasProfile(Profile profile)
public boolean hasProfileNamed(String profileName)
public boolean equals(Object o)
equals in class EntityObjectpublic int hashCode()
hashCode in class EntityObjectCopyright © 2017 Atlassian. All rights reserved.