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