org.apache.shiro.cas
Class CasToken
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CasToken
public CasToken(String ticket)
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.