@Entity public class SamlArtifactTicketImpl extends org.apereo.cas.ticket.AbstractTicket implements SamlArtifactTicket
SamlArtifactTicketImpl.PREFIX| Constructor and Description |
|---|
SamlArtifactTicketImpl()
Instantiates a new OAuth code impl.
|
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 |
|---|---|
org.apereo.cas.authentication.Authentication |
getAuthentication() |
org.apereo.cas.ticket.TicketGrantingTicket |
getGrantingTicket() |
java.lang.String |
getIssuer()
Gets issuer.
|
java.lang.String |
getObject()
Gets saml object.
|
java.lang.String |
getPrefix() |
java.lang.String |
getRelyingPartyId()
Relying party id.
|
org.apereo.cas.authentication.principal.Service |
getService() |
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) |
compareTo, equals, getCountOfUses, getCreationTime, getExpirationPolicy, getId, getLastTimeUsed, getPreviousTimeUsed, hashCode, isExpired, isExpiredInternal, toString, updateclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic SamlArtifactTicketImpl()
public 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 java.lang.String getIssuer()
SamlArtifactTicketgetIssuer in interface SamlArtifactTicketpublic java.lang.String getRelyingPartyId()
SamlArtifactTicketgetRelyingPartyId in interface SamlArtifactTicketpublic java.lang.String getObject()
SamlArtifactTicketgetObject in interface SamlArtifactTicketpublic boolean isFromNewLogin()
isFromNewLogin in interface org.apereo.cas.ticket.ServiceTicketpublic org.apereo.cas.authentication.principal.Service getService()
getService 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 org.apereo.cas.authentication.Authentication getAuthentication()
getAuthentication in interface org.apereo.cas.ticket.TicketStatepublic org.apereo.cas.ticket.TicketGrantingTicket getGrantingTicket()
getGrantingTicket in interface org.apereo.cas.ticket.Ticketpublic java.lang.String getPrefix()
getPrefix in interface org.apereo.cas.ticket.Ticket