Class OIDCRPSession
java.lang.Object
net.shibboleth.idp.session.BasicSPSession
net.shibboleth.idp.plugin.oidc.op.session.OIDCRPSession
- All Implemented Interfaces:
SPSession,Component,IdentifiedComponent
A concrete
SPSession implementation for OIDC relying parties.- Since:
- 4.1.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe issuer value to interact with the service.private final StringThe root token identifier.private final StringThe session identifier.private final StringThe subject value.private final booleanThe flag whether the session allows for logout propagation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the issuer value to interact with the service.Get the root token identifier.Get the session identifier.Get the subject value.booleanMethods inherited from class net.shibboleth.idp.session.BasicSPSession
equals, getCreationInstant, getExpirationInstant, getId, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.idp.session.SPSession
getCreationInstant, getExpirationInstant
-
Field Details
-
issuer
The issuer value to interact with the service. -
rootTokenIdentifier
The root token identifier. -
sessionIdentifier
The session identifier. -
subject
The subject value. -
supportsLogoutPropagation
private final boolean supportsLogoutPropagationThe flag whether the session allows for logout propagation.
-
-
Constructor Details
-
OIDCRPSession
private OIDCRPSession(@Nonnull @NotEmpty String id, @Nonnull Instant creation, @Nonnull Instant expiration, @Nonnull @NotEmpty String iss, @Nullable String rootJti, @Nonnull @NotEmpty String sid, @Nonnull @NotEmpty String sub, boolean supportsPropagation) Constructor.- Parameters:
id- the identifier of the service associated with this sessioncreation- creation time of sessionexpiration- expiration time of sessioniss- issuer value to interact with the servicerootJti- root token identifiersid- session identifiersub- subject valuesupportsPropagation- flag whether the session allows for logout propagation
-
-
Method Details
-
getSPSessionKey
- Specified by:
getSPSessionKeyin interfaceSPSession- Overrides:
getSPSessionKeyin classBasicSPSession
-
getProtocol
- Specified by:
getProtocolin interfaceSPSession- Overrides:
getProtocolin classBasicSPSession
-
getIssuer
Get the issuer value to interact with the service.- Returns:
- the issuer value to interact with the service
-
getRootTokenIdentifier
Get the root token identifier.- Returns:
- the root token identifier
-
getSessionIdentifier
Get the session identifier.- Returns:
- the session identifier
-
getSubject
Get the subject value.- Returns:
- The subject value
-
supportsLogoutPropagation
public boolean supportsLogoutPropagation()- Specified by:
supportsLogoutPropagationin interfaceSPSession- Overrides:
supportsLogoutPropagationin classBasicSPSession
-