Package com.im.df.impl.db.sprovider
Class IjcOidAuthenticationToken
- java.lang.Object
-
- org.springframework.security.authentication.AbstractAuthenticationToken
-
- com.im.df.impl.db.sprovider.IjcOidAuthenticationToken
-
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
,org.springframework.security.core.CredentialsContainer
public final class IjcOidAuthenticationToken extends org.springframework.security.authentication.AbstractAuthenticationToken
Simple Spring authentication token.- Since:
- 21.15.0
- See Also:
IjcOidAuthenticationProvider
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IjcOidAuthenticationToken(String principal, List<String> roles, Exception exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.springframework.security.core.GrantedAuthority>
getAuthorities()
Object
getCredentials()
Object
getPrincipal()
-
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
-
-
-
-
Method Detail
-
getCredentials
public Object getCredentials()
-
getPrincipal
public Object getPrincipal()
-
getAuthorities
public Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
- Specified by:
getAuthorities
in interfaceorg.springframework.security.core.Authentication
- Overrides:
getAuthorities
in classorg.springframework.security.authentication.AbstractAuthenticationToken
-
-