| Package | Description |
|---|---|
| net.shibboleth.idp.session |
APIs related to the construction and management of sessions.
|
| net.shibboleth.idp.session.context |
Context classes for managing session-related state.
|
| net.shibboleth.idp.session.logic |
Functions and Predicates related to the use of sessions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicSPSession
Implementation support for a concrete
SPSession implementation. |
| Modifier and Type | Field and Description |
|---|---|
private Map<Class<? extends SPSession>,StorageSerializer<? extends SPSession>> |
SPSessionSerializerRegistry.registry
Storage for the registry mappings.
|
private Map<Class<? extends SPSession>,StorageSerializer<? extends SPSession>> |
SPSessionSerializerRegistry.registry
Storage for the registry mappings.
|
private Class<? extends SPSession> |
LogoutPropagationFlowDescriptor.sessionType
Type of session handled by this flow.
|
private ConcurrentMap<String,com.google.common.base.Optional<SPSession>> |
AbstractIdPSession.spSessions
Tracks services which have been issued authentication tokens during this session.
|
| Modifier and Type | Method and Description |
|---|---|
SPSession |
IdPSession.addSPSession(SPSession spSession)
Add a new SP session to this IdP session, replacing any existing session for the same
service.
|
SPSession |
AbstractIdPSession.addSPSession(SPSession spSession)
Add a new SP session to this IdP session, replacing any existing session for the same
service.
|
SPSession |
AbstractSPSessionSerializer.deserialize(long version,
String context,
String key,
String value,
Long expiration) |
SPSession |
AbstractIdPSession.doAddSPSession(SPSession spSession)
Add a new SP session to this IdP session, replacing any existing session for the same
service.
|
protected abstract SPSession |
AbstractSPSessionSerializer.doDeserialize(javax.json.JsonObject obj,
String id,
long creation,
long expiration)
Implement this method to return the appropriate type of object, populated with the basic
information supplied.
|
SPSession |
IdPSession.getSPSession(String serviceId)
Get the SPSession for a given service.
|
SPSession |
AbstractIdPSession.getSPSession(String serviceId)
Get the SPSession for a given service.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends SPSession> |
LogoutPropagationFlowDescriptor.getSessionType()
Get the type of
SPSession supported by this flow descriptor. |
protected Map<String,com.google.common.base.Optional<SPSession>> |
AbstractIdPSession.getSPSessionMap()
Accessor for the underlying
SPSession map maintained with the IdP session. |
Set<SPSession> |
IdPSession.getSPSessions()
Gets the unmodifiable collection of service sessions associated with this session.
|
Set<SPSession> |
AbstractIdPSession.getSPSessions()
Gets the unmodifiable collection of service sessions associated with this session.
|
StorageSerializer<? extends SPSession> |
SPSessionSerializerRegistry.lookup(Class<? extends SPSession> type)
Get a registered
StorageSerializer for a given SPSession type, if any. |
| Modifier and Type | Method and Description |
|---|---|
SPSession |
IdPSession.addSPSession(SPSession spSession)
Add a new SP session to this IdP session, replacing any existing session for the same
service.
|
SPSession |
AbstractIdPSession.addSPSession(SPSession spSession)
Add a new SP session to this IdP session, replacing any existing session for the same
service.
|
SPSession |
AbstractIdPSession.doAddSPSession(SPSession spSession)
Add a new SP session to this IdP session, replacing any existing session for the same
service.
|
boolean |
AbstractIdPSession.doRemoveSPSession(SPSession spSession)
Disassociate the given SP session from this IdP session.
|
protected void |
AbstractSPSessionSerializer.doSerializeAdditional(SPSession instance,
javax.json.stream.JsonGenerator generator)
Override this method to handle serialization of additional data.
|
boolean |
IdPSession.removeSPSession(SPSession spSession)
Disassociate the given SP session from this IdP session.
|
boolean |
AbstractIdPSession.removeSPSession(SPSession spSession)
Disassociate the given SP session from this IdP session.
|
String |
AbstractSPSessionSerializer.serialize(SPSession instance) |
| Modifier and Type | Method and Description |
|---|---|
StorageSerializer<? extends SPSession> |
SPSessionSerializerRegistry.lookup(Class<? extends SPSession> type)
Get a registered
StorageSerializer for a given SPSession type, if any. |
void |
SPSessionSerializerRegistry.setMappings(Map<Class<? extends SPSession>,StorageSerializer<? extends SPSession>> map)
Set the mappings to use.
|
void |
SPSessionSerializerRegistry.setMappings(Map<Class<? extends SPSession>,StorageSerializer<? extends SPSession>> map)
Set the mappings to use.
|
| Constructor and Description |
|---|
LogoutPropagationFlowDescriptor(Class<? extends SPSession> type)
Constructor.
|
| Modifier and Type | Field and Description |
|---|---|
private SPSession |
LogoutPropagationContext.session
SP session to be destroyed.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<String,SPSession> |
LogoutContext.keyedSessionMap
An index of the session objects by an externally assigned key.
|
private com.google.common.collect.Multimap<String,SPSession> |
LogoutContext.sessionMap
SP sessions needing logout.
|
| Modifier and Type | Method and Description |
|---|---|
SPSession |
LogoutPropagationContext.getSession()
Get the
SPSession being destroyed by the logout propagation. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SPSession> |
LogoutContext.getKeyedSessionMap()
Get a live view of the map of sessions keyed by an external value.
|
com.google.common.collect.Multimap<String,SPSession> |
LogoutContext.getSessionMap()
Get a live view of the map of service ID/session mappings.
|
Collection<SPSession> |
LogoutContext.getSessions(String id)
Get a live collection of sessions associated with a service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LogoutPropagationContext.setSession(SPSession theSession)
Set the
SPSession to be destroyed. |
| Modifier and Type | Method and Description |
|---|---|
LogoutPropagationFlowDescriptor |
LogoutPropagationFlowDescriptorSelector.apply(SPSession input) |
Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.