org.jasig.cas.authentication.principal
Interface Principal

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
Service, WebApplicationService
All Known Implementing Classes:
AbstractWebApplicationService, GoogleAccountsService, SamlService, SimplePrincipal, SimpleWebApplicationServiceImpl

public interface Principal
extends java.io.Serializable

Generic concept of an authenticated thing. Examples include a person or a service.

The implementation SimplePrincipal just contains the Id property. More complex Principal objects may contain additional information that are meaningful to the View layer but are generally transparent to the rest of CAS.

Since:
3.0

This is a published and supported CAS Server 3 API.

Version:
$Revision: 1.3 $ $Date: 2007/04/19 20:13:01 $
Author:
Scott Battaglia

Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getAttributes()
           
 java.lang.String getId()
          Returns the unique id for the Principal
 

Method Detail

getId

java.lang.String getId()
Returns the unique id for the Principal

Returns:
the unique id for the Principal.

getAttributes

java.util.Map<java.lang.String,java.lang.Object> getAttributes()
Returns:


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.