org.apache.shiro.cas
Class CasToken

java.lang.Object
  extended by org.apache.shiro.cas.CasToken
All Implemented Interfaces:
Serializable, org.apache.shiro.authc.AuthenticationToken, org.apache.shiro.authc.RememberMeAuthenticationToken

public class CasToken
extends Object
implements org.apache.shiro.authc.RememberMeAuthenticationToken

This class represents a token for a CAS authentication (service ticket + user id + remember me).

Since:
1.2
See Also:
Serialized Form

Constructor Summary
CasToken(String ticket)
           
 
Method Summary
 Object getCredentials()
           
 Object getPrincipal()
           
 boolean isRememberMe()
           
 void setRememberMe(boolean isRememberMe)
           
 void setUserId(String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CasToken

public CasToken(String ticket)
Method Detail

getPrincipal

public Object getPrincipal()
Specified by:
getPrincipal in interface org.apache.shiro.authc.AuthenticationToken

getCredentials

public Object getCredentials()
Specified by:
getCredentials in interface org.apache.shiro.authc.AuthenticationToken

setUserId

public void setUserId(String userId)

isRememberMe

public boolean isRememberMe()
Specified by:
isRememberMe in interface org.apache.shiro.authc.RememberMeAuthenticationToken

setRememberMe

public void setRememberMe(boolean isRememberMe)


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.