| Package | Description |
|---|---|
| net.shibboleth.idp.session |
APIs related to the construction and management 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>,org.opensaml.storage.StorageSerializer<? extends SPSession>> |
SPSessionSerializerRegistry.registry
Storage for the registry mappings.
|
private Map<Class<? extends SPSession>,org.opensaml.storage.StorageSerializer<? extends SPSession>> |
SPSessionSerializerRegistry.registry
Storage for the registry mappings.
|
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(int 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,
String flowId,
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 |
|---|---|
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.
|
org.opensaml.storage.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 |
|---|---|
void |
SPSessionSerializerRegistry.deregister(Class<? extends SPSession> type)
Deregister a
StorageSerializer for a given SPSession type. |
org.opensaml.storage.StorageSerializer<? extends SPSession> |
SPSessionSerializerRegistry.lookup(Class<? extends SPSession> type)
Get a registered
StorageSerializer for a given SPSession type, if any. |
void |
SPSessionSerializerRegistry.register(Class<? extends SPSession> type,
org.opensaml.storage.StorageSerializer<? extends SPSession> serializer)
Register a
StorageSerializer for a given SPSession type. |
void |
SPSessionSerializerRegistry.register(Class<? extends SPSession> type,
org.opensaml.storage.StorageSerializer<? extends SPSession> serializer)
Register a
StorageSerializer for a given SPSession type. |
| Constructor and Description |
|---|
SPSessionSerializerRegistry(Map<Class<? extends SPSession>,org.opensaml.storage.StorageSerializer<? extends SPSession>> fromMap)
Constructor.
|
SPSessionSerializerRegistry(Map<Class<? extends SPSession>,org.opensaml.storage.StorageSerializer<? extends SPSession>> fromMap)
Constructor.
|
Copyright © 1999–2014. All rights reserved.