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
ConstructorsConstructorDescriptionJwtSigningContext(org.forgerock.services.context.Context parent, String dn, JwtFactories.SignedJwtFactory signedJwtFactory) Creates a newJwtContextbased on a parent context and aJwtFactories.SignedJwtFactory. -
Method Summary
Modifier and TypeMethodDescriptiondn()Retuns the associated dn of this context.Returns aJwtFactories.SignedJwtFactoryto 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 newJwtContextbased 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.SignedJwtFactoryto sign authentication requests with a JWT.- Returns:
- The
SignedJwtFactoryattached to this context.
-
dn
Retuns the associated dn of this context.- Returns:
- The associated dn of this context.
-