@Entity public class SamlArtifactTicketImpl extends org.apereo.cas.ticket.AbstractTicket implements SamlArtifactTicket
SamlArtifactTicketImpl.PREFIX| Constructor and Description |
|---|
SamlArtifactTicketImpl(java.lang.String id,
org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.ticket.ExpirationPolicy expirationPolicy,
org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket,
java.lang.String issuer,
java.lang.String relyingParty,
java.lang.String samlObject)
Constructs a new OAuth code with unique id for a service and authentication.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPrefix() |
org.apereo.cas.ticket.proxy.ProxyGrantingTicket |
grantProxyGrantingTicket(java.lang.String id,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.ticket.ExpirationPolicy expirationPolicy) |
boolean |
isFromNewLogin() |
boolean |
isValidFor(org.apereo.cas.authentication.principal.Service serviceToValidate) |
canEqual, compareTo, equals, getAuthentication, getCountOfUses, getCreationTime, getExpirationPolicy, getId, getLastTimeUsed, getPreviousTimeUsed, getTicketGrantingTicket, hashCode, isExpired, isExpiredInternal, markTicketExpired, setCountOfUses, setCreationTime, setExpirationPolicy, setExpired, setId, setLastTimeUsed, setPreviousTimeUsed, toString, updateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIssuer, getObject, getRelyingPartyIdpublic SamlArtifactTicketImpl(java.lang.String id,
org.apereo.cas.authentication.principal.Service service,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.ticket.ExpirationPolicy expirationPolicy,
org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket,
java.lang.String issuer,
java.lang.String relyingParty,
java.lang.String samlObject)
id - the unique identifier for the ticket.service - the service this ticket is for.authentication - the authentication.expirationPolicy - the expiration policy.ticketGrantingTicket - the ticket granting ticketissuer - the issuerrelyingParty - the relying partysamlObject - the saml objectjava.lang.IllegalArgumentException - if the service or authentication are null.public boolean isFromNewLogin()
isFromNewLogin in interface org.apereo.cas.ticket.ServiceTicketpublic boolean isValidFor(org.apereo.cas.authentication.principal.Service serviceToValidate)
isValidFor in interface org.apereo.cas.ticket.ServiceTicketpublic org.apereo.cas.ticket.proxy.ProxyGrantingTicket grantProxyGrantingTicket(java.lang.String id,
org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.ticket.ExpirationPolicy expirationPolicy)
grantProxyGrantingTicket in interface org.apereo.cas.ticket.ServiceTicketpublic java.lang.String getPrefix()
getPrefix in interface org.apereo.cas.ticket.Ticket