public interface Authentication extends Serializable
The Authentication object represents a successful authentication request. It contains the principal that the authentication request was made for as well as the additional meta information such as the authenticated date and a map of attributes.
An Authentication object must be serializable to permit persistance and clustering.
Implementing classes must take care to ensure that the Map returned by getAttributes is serializable by using a Serializable map such as HashMap.
This is a published and supported CAS Server 3 API.
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAttributes()
Attributes of the authentication (not the Principal).
|
Date |
getAuthenticatedDate()
Method to retrieve the timestamp of when this Authentication object was
created.
|
Principal |
getPrincipal()
Method to obtain the Principal.
|
Copyright © 2004-2012 Jasig. All Rights Reserved.