Class AddIDTokenShell

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, org.springframework.beans.factory.Aware, org.springframework.context.MessageSource, org.springframework.context.MessageSourceAware, org.springframework.webflow.execution.Action

public class AddIDTokenShell extends AbstractOIDCResponseAction
Action that creates a IDTokenClaimsSet object shell, and sets it to work context OIDCAuthenticationResponseContext located under InOutOperationContext.getOutboundMessageContext().
  • Field Details

    • log

      @Nonnull private org.slf4j.Logger log
      Class logger.
    • issuerLookupStrategy

      @Nonnull private Function<ProfileRequestContext,String> issuerLookupStrategy
      Strategy used to obtain the response issuer value.
    • audienceRestrictionsLookupStrategy

      @Nonnull private Function<ProfileRequestContext,Collection<String>> audienceRestrictionsLookupStrategy
      Strategy used to obtain the audiences to add.
    • idTokenLifetimeLookupStrategy

      @Nonnull private Function<ProfileRequestContext,Duration> idTokenLifetimeLookupStrategy
      Strategy used to obtain the ID token lifetime.
    • issuerId

      @Nullable private String issuerId
      EntityID to populate into Issuer element.
    • audiences

      @Nullable private Collection<String> audiences
      Audiences to add.
    • lifetime

      @Nullable private Duration lifetime
      ID token lifetime.
  • Constructor Details

    • AddIDTokenShell

      public AddIDTokenShell()
      Constructor.
  • Method Details