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 void
addAuthority(String role)
GrantedAuthority[]
getAuthorities()
String
getPassword()
String
getUsername()
boolean
isAccountNonExpired()
boolean
isAccountNonLocked()
boolean
isCredentialsNonExpired()
boolean
isEnabled()
-
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:
getAuthorities
in interfaceUserDetails
-
addAuthority
public void addAuthority(String role)
-
getPassword
public String getPassword()
- Specified by:
getPassword
in interfaceUserDetails
-
getUsername
public String getUsername()
- Specified by:
getUsername
in interfaceUserDetails
-
isAccountNonExpired
public boolean isAccountNonExpired()
- Specified by:
isAccountNonExpired
in interfaceUserDetails
-
isAccountNonLocked
public boolean isAccountNonLocked()
- Specified by:
isAccountNonLocked
in interfaceUserDetails
-
isCredentialsNonExpired
public boolean isCredentialsNonExpired()
- Specified by:
isCredentialsNonExpired
in interfaceUserDetails
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceUserDetails
-
-