Class CreateResult

  • All Implemented Interfaces:
    net.shibboleth.utilities.java.support.component.Component, net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.InitializableComponent, org.opensaml.profile.action.ProfileAction, Aware, MessageSource, MessageSourceAware, Action

    public class CreateResult
    extends AbstractConsentIndexedStorageAction
    Consent action to create a consent result representing the result of a consent flow. The result is added to the profile interceptor context for eventual storage by a storage service. The result of the consent flow is created from the current consents of the consent context.
    Event:
    EventIds.PROCEED_EVENT_ID
    Precondition:
    The current consents in the consent context must not be empty.
    Postcondition:
    A ConsentResult will be created representing the current consents and will be added to the ProfileInterceptorContext.
    • Field Detail

      • log

        @Nonnull
        private final Logger log
        Class logger.
    • Constructor Detail

      • CreateResult

        public CreateResult()
    • Method Detail

      • doPreExecute

        protected boolean doPreExecute​(@Nonnull
                                       org.opensaml.profile.context.ProfileRequestContext profileRequestContext,
                                       @Nonnull
                                       net.shibboleth.idp.profile.context.ProfileInterceptorContext interceptorContext)
        Overrides:
        doPreExecute in class AbstractConsentIndexedStorageAction
      • doExecute

        protected void doExecute​(@Nonnull
                                 org.opensaml.profile.context.ProfileRequestContext profileRequestContext,
                                 @Nonnull
                                 net.shibboleth.idp.profile.context.ProfileInterceptorContext interceptorContext)
        Overrides:
        doExecute in class net.shibboleth.idp.profile.interceptor.AbstractProfileInterceptorAction