public class WwpassAuthenticationToken
extends org.acegisecurity.providers.AbstractAuthenticationToken
Constructor and Description |
---|
WwpassAuthenticationToken(String puid) |
WwpassAuthenticationToken(String puid,
org.acegisecurity.GrantedAuthority[] authorities) |
Modifier and Type | Method and Description |
---|---|
org.acegisecurity.GrantedAuthority[] |
getAuthorities() |
Object |
getCredentials()
The credentials that prove the principal is correct.
|
Object |
getPrincipal()
The identity of the principal being authenticated.
|
equals, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
public WwpassAuthenticationToken(String puid)
public WwpassAuthenticationToken(String puid, org.acegisecurity.GrantedAuthority[] authorities)
public org.acegisecurity.GrantedAuthority[] getAuthorities()
getAuthorities
in interface org.acegisecurity.Authentication
getAuthorities
in class org.acegisecurity.providers.AbstractAuthenticationToken
public Object getCredentials()
AuthenticationManager
. Callers are expected to populate the credentials.public Object getPrincipal()
Copyright © 2004-2015. All Rights Reserved.