edu.mit.stellar.authentication
Class Stellar2AuthenticationToken

java.lang.Object
  extended by org.acegisecurity.providers.AbstractAuthenticationToken
      extended by edu.mit.stellar.authentication.Stellar2AuthenticationToken
All Implemented Interfaces:
java.io.Serializable, java.security.Principal, org.acegisecurity.Authentication

public class Stellar2AuthenticationToken
extends org.acegisecurity.providers.AbstractAuthenticationToken

Author:
ccount
See Also:
Serialized Form

Constructor Summary
protected Stellar2AuthenticationToken(org.acegisecurity.GrantedAuthority[] grantedAuthorities)
           
 
Method Summary
 java.lang.Object getCredentials()
           
 java.lang.Object getDetails()
           
 java.lang.String getName()
           
 java.lang.Object getPrincipal()
           
 boolean isAuthenticated()
           
 void setAuthenticated(boolean authenticated)
           
 void setDetails(java.lang.Object details)
           
 void setPrincipal(java.lang.Object principal)
           
 
Methods inherited from class org.acegisecurity.providers.AbstractAuthenticationToken
equals, getAuthorities, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Stellar2AuthenticationToken

protected Stellar2AuthenticationToken(org.acegisecurity.GrantedAuthority[] grantedAuthorities)
Method Detail

getDetails

public java.lang.Object getDetails()
Specified by:
getDetails in interface org.acegisecurity.Authentication
Overrides:
getDetails in class org.acegisecurity.providers.AbstractAuthenticationToken

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal
Overrides:
getName in class org.acegisecurity.providers.AbstractAuthenticationToken

isAuthenticated

public boolean isAuthenticated()
Specified by:
isAuthenticated in interface org.acegisecurity.Authentication
Overrides:
isAuthenticated in class org.acegisecurity.providers.AbstractAuthenticationToken

setAuthenticated

public void setAuthenticated(boolean authenticated)
Specified by:
setAuthenticated in interface org.acegisecurity.Authentication
Overrides:
setAuthenticated in class org.acegisecurity.providers.AbstractAuthenticationToken

setDetails

public void setDetails(java.lang.Object details)
Overrides:
setDetails in class org.acegisecurity.providers.AbstractAuthenticationToken

getCredentials

public java.lang.Object getCredentials()

getPrincipal

public java.lang.Object getPrincipal()

setPrincipal

public void setPrincipal(java.lang.Object principal)
Parameters:
principal - the principal to set


Copyright ? 2001-2009 MIT. All Rights Reserved.