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.Authentication
public String getCredentials()
getCredentials
in interface org.springframework.security.core.Authentication
public Object getDetails()
getDetails
in interface org.springframework.security.core.Authentication
public Object getPrincipal()
getPrincipal
in interface org.springframework.security.core.Authentication
public boolean isAuthenticated()
isAuthenticated
in interface org.springframework.security.core.Authentication
public void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentException
setAuthenticated
in interface org.springframework.security.core.Authentication
IllegalArgumentException
Copyright © 2022 Apache Software Foundation. All rights reserved.