public final class ImmutableAssertionImpl extends Object implements Assertion
| Constructor and Description |
|---|
ImmutableAssertionImpl(List<Authentication> principals,
Service service,
boolean fromNewLogin)
Constructs a new ImmutableAssertion out of the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
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.
|
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 ImmutableAssertionImpl(List<Authentication> principals, Service service, boolean fromNewLogin)
principals - the chain of principalsservice - The service we are asserting this ticket for.fromNewLogin - was the service ticket from a new login.IllegalArgumentException - if there are no principals.public List<Authentication> getChainedAuthentications()
AssertiongetChainedAuthentications in interface Assertionpublic boolean isFromNewLogin()
AssertionisFromNewLogin in interface Assertionpublic Service getService()
AssertiongetService in interface AssertionCopyright © 2004-2012 Jasig. All Rights Reserved.