Class UpdateCounter

  • 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 UpdateCounter
    extends AbstractConsentStorageAction
    Consent action which maintains a storage record whose value is the current time in milliseconds. The storage record version may be used to track the number of times this action, or a flow, has been executed.
    • Field Detail

      • COUNTER_KEY

        @Nonnull
        @NotEmpty
        public static final String COUNTER_KEY
        Storage context for the storage index record.
        See Also:
        Constant Field Values
      • log

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

      • UpdateCounter

        public UpdateCounter()
    • Method Detail

      • 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