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.UserDetails
public String getPassword()
getPassword
in interface org.acegisecurity.userdetails.UserDetails
public 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
Copyright © 2004-2017. All Rights Reserved.