Class OIDCRPSessionSerializer
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.idp.session.AbstractSPSessionSerializer
net.shibboleth.idp.plugin.oidc.op.session.impl.OIDCRPSessionSerializer
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,StorageSerializer<SPSession>
A serializer for
OIDCRPSession objects.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringField name of logout propagation indicator. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SPSessiondoDeserialize(JsonObject obj, String id, Instant creation, Instant expiration) protected voiddoSerializeAdditional(SPSession instance, JsonGenerator generator) Methods inherited from class net.shibboleth.idp.session.AbstractSPSessionSerializer
deserialize, serializeMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
LOGOUT_PROP_FIELD
Field name of logout propagation indicator.- See Also:
-
-
Constructor Details
-
OIDCRPSessionSerializer
Constructor.- Parameters:
offset- time to subtract from record expiration to establish session expiration value
-
-
Method Details
-
doSerializeAdditional
- Overrides:
doSerializeAdditionalin classAbstractSPSessionSerializer
-
doDeserialize
@Nonnull protected SPSession doDeserialize(@Nonnull JsonObject obj, @Nonnull @NotEmpty String id, @Nonnull Instant creation, @Nonnull Instant expiration) - Specified by:
doDeserializein classAbstractSPSessionSerializer
-