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.
  • Constructor Details

    • JwtSigningContext

      public JwtSigningContext(org.forgerock.services.context.Context parent, String dn, JwtFactories.SignedJwtFactory signedJwtFactory)
      Creates a new JwtContext based on a parent context and a JwtFactories.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

      public JwtFactories.SignedJwtFactory signedJwtFactory()
      Returns a JwtFactories.SignedJwtFactory to sign authentication requests with a JWT.
      Returns:
      The SignedJwtFactory attached to this context.
    • dn

      public String dn()
      Retuns the associated dn of this context.
      Returns:
      The associated dn of this context.