public class DuracloudUserDetails
extends org.springframework.security.core.userdetails.User
implements org.springframework.security.core.userdetails.UserDetails
Constructor and Description |
---|
DuracloudUserDetails(String username,
String password,
String email,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
Collection<org.springframework.security.core.GrantedAuthority> authorities,
List<String> groups) |
Modifier and Type | Method and Description |
---|---|
void |
eraseCredentials() |
String |
getEmail() |
List<String> |
getGroups() |
equals, getAuthorities, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString
public DuracloudUserDetails(String username, String password, String email, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<org.springframework.security.core.GrantedAuthority> authorities, List<String> groups) throws IllegalArgumentException
IllegalArgumentException
public String getEmail()
public void eraseCredentials()
eraseCredentials
in interface org.springframework.security.core.CredentialsContainer
eraseCredentials
in class org.springframework.security.core.userdetails.User
Copyright © 2009–2014 DuraSpace. All rights reserved.