org.jasig.cas.authentication
Class AbstractAuthentication
java.lang.Object
org.jasig.cas.authentication.AbstractAuthentication
- All Implemented Interfaces:
- Serializable, Authentication
- Direct Known Subclasses:
- ImmutableAuthentication, MutableAuthentication
public abstract class AbstractAuthentication
- extends Object
- implements Authentication
- Since:
- 3.0.3
- Version:
- $Revision$ $Date: 2007-02-20 09:41:49 -0500 (Tue, 20 Feb
2007) $
- Author:
- Scott Battaglia
- See Also:
- Serialized Form
AbstractAuthentication
public AbstractAuthentication(Principal principal,
Map<String,Object> attributes)
getAttributes
public final Map<String,Object> getAttributes()
- Description copied from interface:
Authentication
- Attributes of the authentication (not the Principal).
- Specified by:
getAttributes in interface Authentication
- Returns:
- the map of attributes.
getPrincipal
public final Principal getPrincipal()
- Description copied from interface:
Authentication
- Method to obtain the Principal.
- Specified by:
getPrincipal in interface Authentication
- Returns:
- a Principal implementation
equals
public final boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public final int hashCode()
- Overrides:
hashCode in class Object
toString
public final String toString()
- Overrides:
toString in class Object
Copyright © 2004-2013 Jasig. All Rights Reserved.