Package org.jenkinsci.plugins.api
Class BitbucketUser
- java.lang.Object
-
- org.jenkinsci.plugins.api.BitbucketUser
-
- All Implemented Interfaces:
Serializable,UserDetails
public class BitbucketUser extends Object implements UserDetails
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BitbucketUser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAuthority(String role)GrantedAuthority[]getAuthorities()StringgetPassword()StringgetUsername()booleanisAccountNonExpired()booleanisAccountNonLocked()booleanisCredentialsNonExpired()booleanisEnabled()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.acegisecurity.userdetails.UserDetails
toSpring
-
-
-
-
Field Detail
-
username
public String username
-
-
Method Detail
-
getAuthorities
public GrantedAuthority[] getAuthorities()
- Specified by:
getAuthoritiesin interfaceUserDetails
-
addAuthority
public void addAuthority(String role)
-
getPassword
public String getPassword()
- Specified by:
getPasswordin interfaceUserDetails
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceUserDetails
-
isAccountNonExpired
public boolean isAccountNonExpired()
- Specified by:
isAccountNonExpiredin interfaceUserDetails
-
isAccountNonLocked
public boolean isAccountNonLocked()
- Specified by:
isAccountNonLockedin interfaceUserDetails
-
isCredentialsNonExpired
public boolean isCredentialsNonExpired()
- Specified by:
isCredentialsNonExpiredin interfaceUserDetails
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceUserDetails
-
-