public class TuleapUserDetails extends Object implements UserDetails
| Constructor and Description |
|---|
TuleapUserDetails(String username) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthority(GrantedAuthority authority) |
void |
addTuleapAuthority(GrantedAuthority tuleapAuthority) |
boolean |
equals(Object rhs) |
GrantedAuthority[] |
getAuthorities() |
String |
getPassword() |
String |
getUsername() |
int |
hashCode() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
public TuleapUserDetails(String username)
public GrantedAuthority[] getAuthorities()
getAuthorities in interface UserDetailspublic void addAuthority(GrantedAuthority authority)
public void addTuleapAuthority(GrantedAuthority tuleapAuthority)
public String getPassword()
getPassword in interface UserDetailspublic String getUsername()
getUsername in interface UserDetailspublic boolean isAccountNonExpired()
isAccountNonExpired in interface UserDetailspublic boolean isAccountNonLocked()
isAccountNonLocked in interface UserDetailspublic boolean isCredentialsNonExpired()
isCredentialsNonExpired in interface UserDetailspublic boolean isEnabled()
isEnabled in interface UserDetailsCopyright © 2016–2021. All rights reserved.