public class InternalAuthenticationToken extends Object implements org.springframework.security.core.Authentication
| Constructor and Description |
|---|
InternalAuthenticationToken(String tokenString) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
String |
getCredentials() |
Object |
getDetails() |
String |
getName() |
Object |
getPrincipal() |
boolean |
isAuthenticated() |
void |
setAuthenticated(boolean isAuthenticated) |
public InternalAuthenticationToken(String tokenString)
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.Authenticationpublic String getCredentials()
getCredentials in interface org.springframework.security.core.Authenticationpublic Object 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 isAuthenticated)
throws IllegalArgumentException
setAuthenticated in interface org.springframework.security.core.AuthenticationIllegalArgumentExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.