public class SimpleAuthenticationToken<T> extends AbstractAuthenticationToken
| Constructor and Description |
|---|
SimpleAuthenticationToken(T credentials) |
| Modifier and Type | Method and Description |
|---|---|
T |
getCredentials()
凭证 密码 / Token 等
|
java.lang.Object |
getPrincipal()
当事人
|
boolean |
implies(javax.security.auth.Subject subject) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthorities, getDetails, isAuthenticated, setAuthenticatedpublic SimpleAuthenticationToken(T credentials)
public T getCredentials()
Authenticationpublic java.lang.Object getPrincipal()
Authenticationpublic boolean implies(javax.security.auth.Subject subject)