Class HTTPPostAuthnRequestEncoder

All Implemented Interfaces:
Predicate<OAuth2AuthorizationProfileConfiguration.HttpRequestMethod>, OIDCMessageEncoder, Component, DestructableComponent, InitializableComponent, UnmodifiableComponent, MessageEncoder, HttpServletResponseMessageEncoder

public class HTTPPostAuthnRequestEncoder extends AbstractOIDCMessageEncoder
A message encoder that encodes an OpenID authentication request by HTTP Form POST Serialization.
  • Field Details

    • DEFAULT_TEMPLATE_ID

      @Nonnull @NotEmpty public static final String DEFAULT_TEMPLATE_ID
      Default template ID for using FORM POST request type.
      See Also:
    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • velocityEngine

      @Nullable private org.apache.velocity.app.VelocityEngine velocityEngine
      Velocity engine used to evaluate the template when using FORM POST response mode.
    • velocityTemplateId

      @Nonnull @NotEmpty private String velocityTemplateId
      ID of the Velocity template used when using FORM POST response mode.
    • cspDigester

      @Nullable private StringDigester cspDigester
      CSP digester for generating CSP hashes.
    • cspNonceGenerator

      @Nullable private IdentifierGenerationStrategy cspNonceGenerator
      CSP nonce generator.
  • Constructor Details

    • HTTPPostAuthnRequestEncoder

      public HTTPPostAuthnRequestEncoder()
  • Method Details