Class CASSPSession
- java.lang.Object
-
- net.shibboleth.idp.session.BasicSPSession
-
- net.shibboleth.idp.cas.session.impl.CASSPSession
-
- All Implemented Interfaces:
SPSession,SPSessionEx,Component,IdentifiedComponent
public class CASSPSession extends BasicSPSession implements SPSessionEx
Describes a CAS protocol-specific service provider session created in response to a successful ticket validation.
-
-
Constructor Summary
Constructors Constructor Description CASSPSession(String id, Instant creation, Instant expiration, String ticketId)Creates a new CAS SP session.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProtocol()StringgetSPSessionKey()StringgetTicketId()Get the ticket ID.booleansupportsLogoutPropagation()StringtoString()-
Methods inherited from class net.shibboleth.idp.session.BasicSPSession
equals, getCreationInstant, getExpirationInstant, getId, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Methods inherited from interface net.shibboleth.idp.session.SPSession
getCreationInstant, getExpirationInstant
-
-
-
-
Constructor Detail
-
CASSPSession
public CASSPSession(@Nonnull @NotEmpty String id, @Nonnull Instant creation, @Nonnull Instant expiration, @Nonnull @NotEmpty String ticketId)
Creates a new CAS SP session.- Parameters:
id- the identifier of the service associated with this sessioncreation- creation time of sessionexpiration- expiration time of sessionticketId- ticket ID used to gain access to the service
-
-
Method Detail
-
getSPSessionKey
public String getSPSessionKey()
- Specified by:
getSPSessionKeyin interfaceSPSession- Overrides:
getSPSessionKeyin classBasicSPSession
-
getProtocol
@Nullable @NotEmpty public String getProtocol()
- Specified by:
getProtocolin interfaceSPSessionEx
-
supportsLogoutPropagation
public boolean supportsLogoutPropagation()
- Specified by:
supportsLogoutPropagationin interfaceSPSessionEx
-
toString
public String toString()
- Overrides:
toStringin classBasicSPSession
-
-