org.jasig.cas.adaptors.trusted.authentication.principal
Class PrincipalBearingCredentials
java.lang.Object
org.jasig.cas.adaptors.trusted.authentication.principal.PrincipalBearingCredentials
- All Implemented Interfaces:
- Serializable, Credentials
public final class PrincipalBearingCredentials
- extends Object
- implements Credentials
Credentials that bear the fully resolved and authenticated Principal, or an
indication that there is no such Principal. These Credentials are a mechanism
to pass into CAS information about an authentication and Principal resolution
that has already happened in layers in front of CAS, e.g. by means of a Java
Servlet Filter or by means of container authentication in the servlet
container or Apache layers. DO NOT accept these Credentials from arbitrary
web-servicey calls to CAS. Rather, the code constructing these Credentials
must be trusted to perform appropriate authentication before issuing these
credentials.
- Since:
- 3.0.5
- Version:
- $Revision$ $Date$
- Author:
- Andrew Petro
- See Also:
- Serialized Form
PrincipalBearingCredentials
public PrincipalBearingCredentials(Principal principal)
getPrincipal
public Principal getPrincipal()
- Get the previously authenticated Principal.
- Returns:
- authenticated Principal
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2012 Jasig. All Rights Reserved.