|
||||||||||
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(List<Authentication> principals,
Service service,
boolean fromNewLogin)
Constructs a new ImmutableAssertion out of the given parameters. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public List<Authentication> getChainedAuthentications()
Assertion
getChainedAuthentications
in interface Assertion
public boolean isFromNewLogin()
Assertion
isFromNewLogin
in interface Assertion
public Service getService()
Assertion
getService
in interface Assertion
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |