|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.user.DefaultBambooUser
public class DefaultBambooUser
Field Summary | |
---|---|
static String |
DEFAULT_ADMIN_GROUP
The name of the default admin group in Bamboo that's created on setup. |
static String |
DEFAULT_USERS_GROUP
|
static org.acegisecurity.GrantedAuthorityImpl |
RESTRICTED_ADMIN_AUTHORITY
|
static String |
ROLE_ADMIN
|
static String |
ROLE_ANONYMOUS
|
static String |
ROLE_RESTRICTED_ADMIN
|
static String |
ROLE_USER
|
Fields inherited from interface com.atlassian.bamboo.user.BambooUser |
---|
BOTH_PREF, DEFAULT_IDE_PORT, DEFAULT_NOTIFICATION_PREFERENCE, DEFAULT_TRANSPORT_PREFERENCE, EMAIL_PREF, IM_PREF, MULTIPART_EMAIL, NONE_PREF, TEXT_EMAIL |
Constructor Summary | |
---|---|
DefaultBambooUser(com.atlassian.user.User user)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
org.acegisecurity.acls.MutableAclService |
getAclService()
|
org.acegisecurity.GrantedAuthority[] |
getAuthorities()
|
BambooUserManager |
getBambooUserManager()
Deprecated. since 5.6 |
String |
getEmail()
|
String |
getFullName()
|
String |
getIdePort()
Returns the port the user has configured for direct click through to their IDE |
String |
getJabberAddress()
Returns the user's jabber address for IMs |
String |
getName()
|
String |
getNotificationPreference()
Returns the user's preferences for how they receive notifications |
String |
getNotificationTransportPreference()
Returns the user's preference for the format of emails |
String |
getPassword()
|
com.atlassian.user.User |
getUser()
Returns the user, which contains the user's details |
String |
getUsername()
|
int |
hashCode()
|
boolean |
isAccountNonExpired()
|
boolean |
isAccountNonLocked()
|
boolean |
isCredentialsNonExpired()
|
boolean |
isEnabled()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_USERS_GROUP
public static final String DEFAULT_ADMIN_GROUP
BambooPermissionManager.getAdminGroups()
.
public static final String ROLE_USER
public static final String ROLE_ADMIN
public static final String ROLE_RESTRICTED_ADMIN
public static final org.acegisecurity.GrantedAuthorityImpl RESTRICTED_ADMIN_AUTHORITY
public static final String ROLE_ANONYMOUS
Constructor Detail |
---|
public DefaultBambooUser(com.atlassian.user.User user)
Method Detail |
---|
@Nullable public String getJabberAddress()
BambooUser
getJabberAddress
in interface BambooUser
public String getNotificationPreference()
BambooUser
getNotificationPreference
in interface BambooUser
public String getNotificationTransportPreference()
BambooUser
getNotificationTransportPreference
in interface BambooUser
@NotNull public String getIdePort()
BambooUser
getIdePort
in interface BambooUser
public com.atlassian.user.User getUser()
BambooUser
getUser
in interface BambooUser
public String getName()
getName
in interface com.atlassian.user.Entity
getName
in interface Principal
public String getFullName()
getFullName
in interface com.atlassian.user.User
public String getEmail()
getEmail
in interface com.atlassian.user.User
public int hashCode()
hashCode
in interface Principal
hashCode
in class Object
public boolean equals(Object o)
equals
in interface Principal
equals
in class Object
@Deprecated public BambooUserManager getBambooUserManager()
public org.acegisecurity.acls.MutableAclService getAclService()
@NotNull public org.acegisecurity.GrantedAuthority[] getAuthorities()
getAuthorities
in interface org.acegisecurity.userdetails.UserDetails
public String getPassword()
getPassword
in interface org.acegisecurity.userdetails.UserDetails
public String getUsername()
getUsername
in interface org.acegisecurity.userdetails.UserDetails
public boolean isAccountNonExpired()
isAccountNonExpired
in interface org.acegisecurity.userdetails.UserDetails
public boolean isAccountNonLocked()
isAccountNonLocked
in interface org.acegisecurity.userdetails.UserDetails
public boolean isCredentialsNonExpired()
isCredentialsNonExpired
in interface org.acegisecurity.userdetails.UserDetails
public boolean isEnabled()
isEnabled
in interface org.acegisecurity.userdetails.UserDetails
public String toString()
toString
in interface Principal
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |