|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Authentication
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.
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Attributes of the authentication (not the Principal). |
java.util.Date |
getAuthenticatedDate()
Method to retrieve the timestamp of when this Authentication object was created. |
Principal |
getPrincipal()
Method to obtain the Principal. |
| Method Detail |
|---|
Principal getPrincipal()
java.util.Date getAuthenticatedDate()
java.util.Map<java.lang.String,java.lang.Object> getAttributes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||