Class JwtSigningContext
java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.opendj.rest2ldap.authz.JwtSigningContext
- All Implemented Interfaces:
org.forgerock.services.context.Context
public final class JwtSigningContext
extends org.forgerock.services.context.AbstractContext
A context containing a
JwtFactories.SignedJwtFactory
to sign authentication requests with a JWT.-
Field Summary
Fields inherited from class org.forgerock.services.context.AbstractContext
data
-
Constructor Summary
ConstructorDescriptionJwtSigningContext
(org.forgerock.services.context.Context parent, String dn, JwtFactories.SignedJwtFactory signedJwtFactory) Creates a newJwtContext
based on a parent context and aJwtFactories.SignedJwtFactory
. -
Method Summary
Modifier and TypeMethodDescriptiondn()
Retuns the associated dn of this context.Returns aJwtFactories.SignedJwtFactory
to sign authentication requests with a JWT.Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
Constructor Details
-
JwtSigningContext
public JwtSigningContext(org.forgerock.services.context.Context parent, String dn, JwtFactories.SignedJwtFactory signedJwtFactory) Creates a newJwtContext
based on a parent context and aJwtFactories.SignedJwtFactory
.- Parameters:
parent
- The parent context of this context.dn
- The dn associated to this context.signedJwtFactory
- The factory to sign authentication requests with a JWT.
-
-
Method Details
-
signedJwtFactory
Returns aJwtFactories.SignedJwtFactory
to sign authentication requests with a JWT.- Returns:
- The
SignedJwtFactory
attached to this context.
-
dn
Retuns the associated dn of this context.- Returns:
- The associated dn of this context.
-