Class OIDCRPSession.Builder
java.lang.Object
net.shibboleth.idp.plugin.oidc.op.session.OIDCRPSession.Builder
- Enclosing class:
- OIDCRPSession
Builder class for building
OIDCRPSession.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate InstantThe time when this session was created.private InstantThe time when this session expires.private StringThe issuer value to interact with the service.private StringThe root token identifier.private StringThe unique identifier of the service.private StringThe session identifier.private StringThe subject value.private booleanThe flag whether the session allows for logout propagation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build theOIDCRPSession.creationInstant(Instant creation) Set the time when this session was created.expirationInstant(Instant expiration) Set the time when this session expires.Set the issuer value to interact with the service.rootTokenIdentifier(String rootJti) Set the root token identifier.Set the unique identifier of the service.sessionIdentifier(String sid) Set the session identifier.Set the subject value.supportLogoutPropagation(boolean supportsPropagation) Set the flag whether the session allows for logout propagation.
-
Field Details
-
serviceId
The unique identifier of the service. -
creationInstant
The time when this session was created. -
expirationInstant
The time when this session expires. -
issuer
The issuer value to interact with the service. -
rootTokenIdentifier
The root token identifier. -
sessionIdentifier
The session identifier. -
subject
The subject value. -
supportsLogoutPropagation
private boolean supportsLogoutPropagationThe flag whether the session allows for logout propagation.
-
-
Constructor Details
-
Builder
public Builder()Constructor.
-
-
Method Details
-
serviceId
Set the unique identifier of the service.- Parameters:
id- unique identifier of the service- Returns:
- this builder
-
creationInstant
Set the time when this session was created.- Parameters:
creation- time when this session was created- Returns:
- this builder
-
expirationInstant
Set the time when this session expires.- Parameters:
expiration- time when this session expires- Returns:
- this builder
-
issuer
Set the issuer value to interact with the service.- Parameters:
iss- issuer value to interact with the service- Returns:
- this builder
-
rootTokenIdentifier
Set the root token identifier.- Parameters:
rootJti- root token identifier- Returns:
- this builder
-
sessionIdentifier
Set the session identifier.- Parameters:
sid- session identifier- Returns:
- this builder
-
subject
Set the subject value.- Parameters:
sub- subject value- Returns:
- this builder
-
supportLogoutPropagation
Set the flag whether the session allows for logout propagation.- Parameters:
supportsPropagation- flag whether the session allows for logout propagation- Returns:
- this builder
-
build
Build theOIDCRPSession.- Returns:
- the newly built object
-