Class ReleaseAttributes

  • 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 ReleaseAttributes
    extends AbstractAttributeReleaseAction
    Attribute consent action which constrains the attributes released to those consented to. For every consentable attribute in the attribute release context, this action will release the attribute if consent for the attribute has been approved. Attributes in the attribute context which are not consentable attributes in the attribute release context will be released. In other words, this action releases attributes for which consent has been approved as well as attributes which are excluded from consent. Consent is obtained from the consent context. If there are no current consents then the previous consents are used to determine the attributes to be released. The current consents will be present if user input has been obtained during the attribute release flow. The previous consents will be used when there is no user interaction, for example if there are no new attributes to consent to.
    Event:
    EventIds.PROCEED_EVENT_ID
    Postcondition:
    See above.
    • Field Detail

      • log

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

      • ReleaseAttributes

        public ReleaseAttributes()
    • 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