public class DefaultBambooUser extends Object implements BambooUser
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ADMIN_GROUP
The name of the default admin group in Bamboo that's created on setup.
|
static String |
DEFAULT_USERS_GROUP |
BOTH_PREF, DEFAULT_IDE_PORT, DEFAULT_NOTIFICATION_PREFERENCE, DEFAULT_TRANSPORT_PREFERENCE, EMAIL_PREF, IM_PREF, MULTIPART_EMAIL, NONE_PREF, TEXT_EMAIL
Constructor and Description |
---|
DefaultBambooUser(com.atlassian.user.User user) |
Modifier and Type | Method and Description |
---|---|
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() |
public static final String DEFAULT_USERS_GROUP
public static final String DEFAULT_ADMIN_GROUP
BambooPermissionManager.getAdminGroups()
.@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()
public String getFullName()
getFullName
in interface com.atlassian.user.User
public String getEmail()
getEmail
in interface com.atlassian.user.User
public int hashCode()
public boolean equals(Object o)
@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 com.atlassian.user.User
isEnabled
in interface org.acegisecurity.userdetails.UserDetails
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.