Uses of Interface
net.shibboleth.idp.session.SPSession
Packages that use SPSession
Package
Description
CAS protocol session implementations.
Profile processing actions related to SAML 2 messages.
Classes related to use of SAML with the session layer.
Implementation classes for SAML-specific session functionality.
APIs related to the construction and management of sessions.
Context classes for managing session-related state.
Functions for traversing session-related contexts.
Implementations of session-related classes and interfaces.
Functions and Predicates related to the use of sessions.
-
Uses of SPSession in net.shibboleth.idp.cas.session.impl
Classes in net.shibboleth.idp.cas.session.impl that implement SPSessionModifier and TypeClassDescriptionclassDescribes a CAS protocol-specific service provider session created in response to a successful ticket validation.Methods in net.shibboleth.idp.cas.session.impl that return SPSessionModifier and TypeMethodDescriptionprotected SPSessionCASSPSessionSerializer.doDeserialize(JsonObject obj, String id, Instant creation, Instant expiration) Implement this method to return the appropriate type of object, populated with the basic information supplied.Methods in net.shibboleth.idp.cas.session.impl with parameters of type SPSessionModifier and TypeMethodDescriptionprotected voidCASSPSessionSerializer.doSerializeAdditional(SPSession instance, JsonGenerator generator) Override this method to handle serialization of additional data. -
Uses of SPSession in net.shibboleth.idp.saml.saml2.profile.impl
Methods in net.shibboleth.idp.saml.saml2.profile.impl with parameters of type SPSessionModifier and TypeMethodDescriptionprivate booleanProcessLogoutRequest.sessionMatches(ProfileRequestContext profileRequestContext, SPSession session) Check if theSPSessionhas the appropriate service ID and SessionIndex. -
Uses of SPSession in net.shibboleth.idp.saml.session
Classes in net.shibboleth.idp.saml.session that implement SPSessionModifier and TypeClassDescriptionclassMarker subtype for a SAML 1 session, adds no actual information other than its identity as a SAML 1 session.classExtends aBasicSPSessionwith SAML 2.0 information required for reverse lookup in the case of a logout. -
Uses of SPSession in net.shibboleth.idp.saml.session.impl
Methods in net.shibboleth.idp.saml.session.impl that return SPSessionModifier and TypeMethodDescriptionSAML1SPSessionCreationStrategy.apply(ProfileRequestContext input) SAML2SPSessionCreationStrategy.apply(ProfileRequestContext input) protected SPSessionSAML1SPSessionSerializer.doDeserialize(JsonObject obj, String id, Instant creation, Instant expiration) Implement this method to return the appropriate type of object, populated with the basic information supplied.protected SPSessionSAML2SPSessionSerializer.doDeserialize(JsonObject obj, String id, Instant creation, Instant expiration) Implement this method to return the appropriate type of object, populated with the basic information supplied.Methods in net.shibboleth.idp.saml.session.impl with parameters of type SPSessionModifier and TypeMethodDescriptionprotected voidSAML2SPSessionSerializer.doSerializeAdditional(SPSession instance, JsonGenerator generator) Override this method to handle serialization of additional data. -
Uses of SPSession in net.shibboleth.idp.session
Classes in net.shibboleth.idp.session with type parameters of type SPSessionModifier and TypeClassDescriptionstatic classSPSessionSerializerRegistry.Entry<T extends SPSession>Wrapper type for auto-wiring serializers.Classes in net.shibboleth.idp.session that implement SPSessionModifier and TypeClassDescriptionclassImplementation support for a concreteSPSessionimplementation.Fields in net.shibboleth.idp.session with type parameters of type SPSessionModifier and TypeFieldDescriptionprivate Map<Class<? extends SPSession>,StorageSerializer<? extends SPSession>> SPSessionSerializerRegistry.registryStorage for the registry mappings.private Map<Class<? extends SPSession>,StorageSerializer<? extends SPSession>> SPSessionSerializerRegistry.registryStorage for the registry mappings.LogoutPropagationFlowDescriptor.sessionTypeType of session handled by this flow.private final ConcurrentMap<String,Optional<SPSession>> AbstractIdPSession.spSessionsTracks services which have been issued authentication tokens during this session.Methods in net.shibboleth.idp.session with type parameters of type SPSessionModifier and TypeMethodDescription<T extends SPSession>
StorageSerializer<T>Get a registeredStorageSerializerfor a givenSPSessiontype, if any.Methods in net.shibboleth.idp.session that return SPSessionModifier and TypeMethodDescriptionAbstractIdPSession.addSPSession(SPSession spSession) Add a new SP session to this IdP session, replacing any existing session for the same service.IdPSession.addSPSession(SPSession spSession) Add a new SP session to this IdP session, replacing any existing session for the same service.AbstractSPSessionSerializer.deserialize(long version, String context, String key, String value, Long expiration) AbstractIdPSession.doAddSPSession(SPSession spSession) Add a new SP session to this IdP session, replacing any existing session for the same service.protected abstract SPSessionAbstractSPSessionSerializer.doDeserialize(JsonObject obj, String id, Instant creation, Instant expiration) Implement this method to return the appropriate type of object, populated with the basic information supplied.AbstractIdPSession.getSPSession(String serviceId) Get the SPSession for a given service.IdPSession.getSPSession(String serviceId) Get the SPSession for a given service.Methods in net.shibboleth.idp.session that return types with arguments of type SPSessionModifier and TypeMethodDescriptionLogoutPropagationFlowDescriptor.getSessionType()Get the type ofSPSessionsupported by this flow descriptor.AbstractIdPSession.getSPSessionMap()Accessor for the underlyingSPSessionmap maintained with the IdP session.AbstractIdPSession.getSPSessions()Gets the unmodifiable collection of service sessions associated with this session.IdPSession.getSPSessions()Gets the unmodifiable collection of service sessions associated with this session.Methods in net.shibboleth.idp.session with parameters of type SPSessionModifier and TypeMethodDescriptionAbstractIdPSession.addSPSession(SPSession spSession) Add a new SP session to this IdP session, replacing any existing session for the same service.IdPSession.addSPSession(SPSession spSession) Add a new SP session to this IdP session, replacing any existing session for the same service.AbstractIdPSession.doAddSPSession(SPSession spSession) Add a new SP session to this IdP session, replacing any existing session for the same service.booleanAbstractIdPSession.doRemoveSPSession(SPSession spSession) Disassociate the given SP session from this IdP session.protected voidAbstractSPSessionSerializer.doSerializeAdditional(SPSession instance, JsonGenerator generator) Override this method to handle serialization of additional data.booleanLogoutPropagationFlowDescriptor.isSupported(SPSession session) Test an input session to determine if this flow supports it.booleanAbstractIdPSession.removeSPSession(SPSession spSession) Disassociate the given SP session from this IdP session.booleanIdPSession.removeSPSession(SPSession spSession) Disassociate the given SP session from this IdP session.Method parameters in net.shibboleth.idp.session with type arguments of type SPSessionModifier and TypeMethodDescriptionvoidSPSessionSerializerRegistry.setMappings(Map<Class<? extends SPSession>, StorageSerializer<? extends SPSession>> map) Set the mappings to use.voidSPSessionSerializerRegistry.setMappings(Map<Class<? extends SPSession>, StorageSerializer<? extends SPSession>> map) Set the mappings to use.Constructor parameters in net.shibboleth.idp.session with type arguments of type SPSessionModifierConstructorDescriptionLogoutPropagationFlowDescriptor(Class<? extends SPSession> type) Constructor. -
Uses of SPSession in net.shibboleth.idp.session.context
Fields in net.shibboleth.idp.session.context declared as SPSessionModifier and TypeFieldDescriptionprivate SPSessionLogoutPropagationContext.sessionSP session to be destroyed.Fields in net.shibboleth.idp.session.context with type parameters of type SPSessionModifier and TypeFieldDescriptionLogoutContext.keyedSessionMapAn index of the session objects by an externally assigned key.LogoutContext.sessionMapSP sessions needing logout.Methods in net.shibboleth.idp.session.context that return SPSessionModifier and TypeMethodDescriptionLogoutPropagationContext.getSession()Get theSPSessionbeing destroyed by the logout propagation.Methods in net.shibboleth.idp.session.context that return types with arguments of type SPSessionModifier and TypeMethodDescriptionLogoutContext.getKeyedSessionMap()Get a live view of the map of sessions keyed by an external value.LogoutContext.getSessionMap()Get a live view of the map of service ID/session mappings.LogoutContext.getSessions(String id) Get a live collection of sessions associated with a service.Methods in net.shibboleth.idp.session.context with parameters of type SPSessionModifier and TypeMethodDescriptionvoidLogoutPropagationContext.setSession(SPSession theSession) Set theSPSessionto be destroyed. -
Uses of SPSession in net.shibboleth.idp.session.impl
Fields in net.shibboleth.idp.session.impl declared as SPSessionModifier and TypeFieldDescriptionprivate SPSessionPopulateLogoutPropagationContext.sessionSPSessionto operate on.Fields in net.shibboleth.idp.session.impl with type parameters of type SPSessionModifier and TypeFieldDescriptionprivate final Function<SPSession,LogoutPropagationFlowDescriptor> SelectLogoutPropagationFlow.flowSelectorFunctionSelection function to determine suitable LogoutPropagationFlowDescriptor for given SPSession.private Function<ProfileRequestContext,SPSession> PopulateLogoutPropagationContext.sessionLookupStrategyLookup strategy for session.private Function<ProfileRequestContext,SPSession> UpdateSessionWithSPSession.spSessionCreationStrategyA function that returns theSPSessionto add.Methods in net.shibboleth.idp.session.impl that return SPSessionModifier and TypeMethodDescriptionStorageBackedIdPSession.addSPSession(SPSession spSession) Add a new SP session to this IdP session, replacing any existing session for the same service.BasicSPSessionCreationStrategy.apply(ProfileRequestContext input) protected SPSessionBasicSPSessionSerializer.doDeserialize(JsonObject obj, String id, Instant creation, Instant expiration) Implement this method to return the appropriate type of object, populated with the basic information supplied.private SPSessionPopulateLogoutPropagationContext.getSessionByReference(RequestContext requestContext, String key) Get anSPSessionby reference.private SPSessionPopulateLogoutPropagationContext.getSessionByValue(String sessionVal) Get anSPSessionby value.StorageBackedIdPSession.getSPSession(String serviceId) Get the SPSession for a given service.private SPSessionStorageBackedIdPSession.loadSPSessionFromStorage(String serviceId) Loads aSPSessionrecord from storage and deserializes it using the object registered in the attachedSPSessionSerializerRegistry.Methods in net.shibboleth.idp.session.impl that return types with arguments of type SPSessionModifier and TypeMethodDescriptionStorageBackedIdPSession.getSPSessionMap()Accessor for the underlyingSPSessionmap maintained with the IdP session.StorageBackedIdPSession.getSPSessions()Gets the unmodifiable collection of service sessions associated with this session.Methods in net.shibboleth.idp.session.impl with parameters of type SPSessionModifier and TypeMethodDescriptionStorageBackedIdPSession.addSPSession(SPSession spSession) Add a new SP session to this IdP session, replacing any existing session for the same service.protected voidStorageBackedSessionManager.indexBySPSession(IdPSession idpSession, SPSession spSession, int attempts) Insert or update a secondary index record from an SPSession to a parent IdPSession.booleanStorageBackedIdPSession.removeSPSession(SPSession spSession) Disassociate the given SP session from this IdP session.private booleanStorageBackedIdPSession.saveSPSessionToStorage(SPSession session) Saves aSPSessionrecord to storage.protected voidStorageBackedSessionManager.unindexSPSession(IdPSession idpSession, SPSession spSession, int attempts) Remove or update a secondary index record from an SPSession to a parent IdPSession.Method parameters in net.shibboleth.idp.session.impl with type arguments of type SPSessionModifier and TypeMethodDescriptionvoidPopulateLogoutPropagationContext.setSessionLookupStrategy(Function<ProfileRequestContext, SPSession> strategy) Set a lookup strategy to use to obtain the session to populate.voidUpdateSessionWithSPSession.setSPSessionCreationStrategy(Function<ProfileRequestContext, SPSession> strategy) Set the creation function to use to obtain theSPSessionto add.Constructor parameters in net.shibboleth.idp.session.impl with type arguments of type SPSessionModifierConstructorDescriptionConstructor. -
Uses of SPSession in net.shibboleth.idp.session.logic
Methods in net.shibboleth.idp.session.logic with parameters of type SPSessionModifier and TypeMethodDescription