public class ImmutableAssertion
extends java.lang.Object
implements org.apereo.cas.validation.Assertion, java.io.Serializable
| Constructor and Description |
|---|
ImmutableAssertion(org.apereo.cas.authentication.Authentication primary,
java.util.List<org.apereo.cas.authentication.Authentication> chained,
org.apereo.cas.authentication.principal.Service service,
boolean fromNewLogin)
Creates a new instance with required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<org.apereo.cas.authentication.Authentication> |
getChainedAuthentications() |
org.apereo.cas.authentication.Authentication |
getPrimaryAuthentication() |
org.apereo.cas.authentication.principal.Service |
getService() |
int |
hashCode() |
boolean |
isFromNewLogin() |
java.lang.String |
toString() |
public ImmutableAssertion(org.apereo.cas.authentication.Authentication primary,
java.util.List<org.apereo.cas.authentication.Authentication> chained,
org.apereo.cas.authentication.principal.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.java.lang.IllegalArgumentException - If any of the given arguments do not meet requirements.public org.apereo.cas.authentication.Authentication getPrimaryAuthentication()
getPrimaryAuthentication in interface org.apereo.cas.validation.Assertionpublic java.util.List<org.apereo.cas.authentication.Authentication> getChainedAuthentications()
getChainedAuthentications in interface org.apereo.cas.validation.Assertionpublic boolean isFromNewLogin()
isFromNewLogin in interface org.apereo.cas.validation.Assertionpublic org.apereo.cas.authentication.principal.Service getService()
getService in interface org.apereo.cas.validation.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