org.jasig.cas.validation
Interface Assertion
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ImmutableAssertionImpl
public interface Assertion
- extends java.io.Serializable
Return from CentralAuthenticationService.validateServiceTicket(String,
Service), the Assertion contains a chain of Principal objects. The first is
the User's login Principal, while any others are Proxy Principals.
- Since:
- 3.0
This is a published and supported CAS Server 3 API.
- Version:
- $Revision: 42053 $ $Date: 2007-06-10 09:17:55 -0400 (Sun, 10 Jun 2007) $
- Author:
- Scott Battaglia
|
Method Summary |
java.util.List<Authentication> |
getChainedAuthentications()
Get a List of Authentications which represent the owners of the
GrantingTickets which granted the ticket that was validated. |
Service |
getService()
Method to obtain the service for which we are asserting this ticket is
valid for. |
boolean |
isFromNewLogin()
True if the validated ticket was granted in the same transaction as that
in which its grantor GrantingTicket was originally issued. |
getChainedAuthentications
java.util.List<Authentication> getChainedAuthentications()
- Get a List of Authentications which represent the owners of the
GrantingTickets which granted the ticket that was validated. The first
Authentication of this list is the Authentication which originally
authenticated to CAS to obtain the first Granting Ticket. Subsequent
Authentication are those associated with GrantingTickets that were
granted from that original granting ticket. The last Authentication in
this List is that associated with the GrantingTicket that was the
immediate grantor of the ticket that was validated. The List returned by
this method will contain at least one Authentication.
- Returns:
- a List of Authentication
isFromNewLogin
boolean isFromNewLogin()
- True if the validated ticket was granted in the same transaction as that
in which its grantor GrantingTicket was originally issued.
- Returns:
- true if validated ticket was granted simultaneous with its
grantor's issuance
getService
Service getService()
- Method to obtain the service for which we are asserting this ticket is
valid for.
- Returns:
- the service for which we are asserting this ticket is valid for.
Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.