public final class ImmutableAssertion extends Object implements Assertion, Serializable
| Constructor and Description |
|---|
ImmutableAssertion(Authentication primary,
List<Authentication> chained,
Service service,
boolean fromNewLogin)
Creates a new instance with required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<Authentication> |
getChainedAuthentications()
Gets a list of all authentications that have occurred during a CAS SSO session.
|
Authentication |
getPrimaryAuthentication()
Gets the authentication event that is basis of this assertion.
|
Service |
getService()
Method to obtain the service for which we are asserting this ticket is
valid for.
|
int |
hashCode() |
boolean |
isFromNewLogin()
True if the validated ticket was granted in the same transaction as that
in which its grantor GrantingTicket was originally issued.
|
String |
toString() |
public ImmutableAssertion(Authentication primary, List<Authentication> chained, Service service, boolean fromNewLogin)
primary - Primary authentication.chained - Chained authentitications.service - The service we are asserting this ticket for.fromNewLogin - True if the ticket was issued as a result of authentication, false otherwise.IllegalArgumentException - If any of the given arguments do not meet requirements.public Authentication getPrimaryAuthentication()
AssertiongetPrimaryAuthentication in interface Assertionpublic List<Authentication> getChainedAuthentications()
AssertiongetChainedAuthentications in interface Assertionpublic boolean isFromNewLogin()
AssertionisFromNewLogin in interface Assertionpublic Service getService()
AssertiongetService in interface AssertionCopyright © 2004-2014 Jasig. All Rights Reserved.