Class AbstractAttributeReleaseAction

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action
Direct Known Subclasses:
PopulateAttributeReleaseContext, ReleaseAttributes

public abstract class AbstractAttributeReleaseAction extends AbstractConsentAction
Base class for attribute release consent actions. Ensures that
Event:
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX, IdPEventIds.INVALID_ATTRIBUTE_CTX
Precondition:
See above.
  • Field Details

  • Constructor Details

    • AbstractAttributeReleaseAction

      public AbstractAttributeReleaseAction()
      Constructor.
  • Method Details

    • setAttributeContextLookupStrategy

      public void setAttributeContextLookupStrategy(Function<ProfileRequestContext,net.shibboleth.idp.attribute.context.AttributeContext> strategy)
      Set the attribute context lookup strategy.
      Parameters:
      strategy - the attribute context lookup strategy
    • setAttributeReleaseContextLookupStrategy

      public void setAttributeReleaseContextLookupStrategy(@Nonnull Function<ProfileRequestContext,AttributeReleaseContext> strategy)
      Set the attribute release context lookup strategy.
      Parameters:
      strategy - the attribute release context lookup strategy
    • getAttributeReleaseContext

      @Nullable public AttributeReleaseContext getAttributeReleaseContext()
      Get the attribute release context.
      Returns:
      the attribute release context
    • getAttributeReleaseFlowDescriptor

      @Nullable public AttributeReleaseFlowDescriptor getAttributeReleaseFlowDescriptor()
      Get the attribute release flow descriptor.
      Returns:
      the attribute release flow descriptor
    • getAttributeContext

      @Nullable public net.shibboleth.idp.attribute.context.AttributeContext getAttributeContext()
      Get the attribute context.
      Returns:
      the attribute context
    • doPreExecute

      protected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull ProfileInterceptorContext interceptorContext)
      Overrides:
      doPreExecute in class AbstractConsentAction