public class UserAuthentication extends Object implements org.springframework.security.core.Authentication
| Constructor and Description |
|---|
UserAuthentication(TokenUser user) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
Object |
getCredentials() |
TokenUser |
getDetails() |
String |
getName() |
Object |
getPrincipal() |
boolean |
isAuthenticated() |
void |
setAuthenticated(boolean authenticated) |
public UserAuthentication(TokenUser user)
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.Authenticationpublic Object getCredentials()
getCredentials in interface org.springframework.security.core.Authenticationpublic TokenUser getDetails()
getDetails in interface org.springframework.security.core.Authenticationpublic Object getPrincipal()
getPrincipal in interface org.springframework.security.core.Authenticationpublic boolean isAuthenticated()
isAuthenticated in interface org.springframework.security.core.Authenticationpublic void setAuthenticated(boolean authenticated)
setAuthenticated in interface org.springframework.security.core.AuthenticationCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.