public class RedmineUserDetails extends Object implements org.acegisecurity.userdetails.UserDetails
| Constructor and Description |
|---|
RedmineUserDetails(String username,
String password,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
org.acegisecurity.GrantedAuthority[] authorities) |
| Modifier and Type | Method and Description |
|---|---|
org.acegisecurity.GrantedAuthority[] |
getAuthorities() |
String |
getPassword() |
String |
getUsername() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
public RedmineUserDetails(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, org.acegisecurity.GrantedAuthority[] authorities)
username - password - enabled - accountNonExpired - credentialsNonExpired - accountNonLocked - authorities - public org.acegisecurity.GrantedAuthority[] getAuthorities()
getAuthorities in interface org.acegisecurity.userdetails.UserDetailspublic String getPassword()
getPassword in interface org.acegisecurity.userdetails.UserDetailspublic String getUsername()
getUsername in interface org.acegisecurity.userdetails.UserDetailspublic boolean isAccountNonExpired()
isAccountNonExpired in interface org.acegisecurity.userdetails.UserDetailspublic boolean isAccountNonLocked()
isAccountNonLocked in interface org.acegisecurity.userdetails.UserDetailspublic boolean isCredentialsNonExpired()
isCredentialsNonExpired in interface org.acegisecurity.userdetails.UserDetailspublic boolean isEnabled()
isEnabled in interface org.acegisecurity.userdetails.UserDetailsCopyright © 2004-2017. All Rights Reserved.