|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.validation.ImmutableAssertionImpl
public final class ImmutableAssertionImpl
Default implementation of the Assertion interface which returns the minimum number of attributes required to conform to the CAS 2 protocol.
| Constructor Summary | |
|---|---|
ImmutableAssertionImpl(java.util.List<Authentication> principals,
Service service,
boolean fromNewLogin)
Constructs a new ImmutableAssertion out of the given parameters. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
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. |
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. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImmutableAssertionImpl(java.util.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.
java.lang.IllegalArgumentException - if there are no principals.| Method Detail |
|---|
public java.util.List<Authentication> getChainedAuthentications()
Assertion
getChainedAuthentications in interface Assertionpublic boolean isFromNewLogin()
Assertion
isFromNewLogin in interface Assertionpublic Service getService()
Assertion
getService in interface Assertionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||