public class SamlUserDetails extends Object implements UserDetails
UserDetails
,
Serialized FormConstructor and Description |
---|
SamlUserDetails(String username,
GrantedAuthority[] authorities) |
Modifier and Type | Method and Description |
---|---|
GrantedAuthority[] |
getAuthorities() |
String |
getPassword() |
String |
getUsername() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromSpring, fromSpringPrincipal, toSpring, toSpringPrincipal
public SamlUserDetails(@Nonnull String username, GrantedAuthority[] authorities)
public GrantedAuthority[] getAuthorities()
getAuthorities
in interface UserDetails
public String getPassword()
getPassword
in interface UserDetails
public String getUsername()
getUsername
in interface UserDetails
public boolean isAccountNonExpired()
isAccountNonExpired
in interface UserDetails
public boolean isAccountNonLocked()
isAccountNonLocked
in interface UserDetails
public boolean isCredentialsNonExpired()
isCredentialsNonExpired
in interface UserDetails
public boolean isEnabled()
isEnabled
in interface UserDetails
Copyright © 2016–2021. All rights reserved.