public class User extends EntityObject
Profile
s, 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, setUpdatedDate
public 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 EntityObject
public int hashCode()
hashCode
in class EntityObject
Copyright © 2021 Atlassian. All rights reserved.