Class ReleaseAttributes
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.opensaml.profile.action.AbstractConditionalProfileAction
net.shibboleth.idp.profile.AbstractProfileAction
net.shibboleth.idp.profile.interceptor.AbstractProfileInterceptorAction
net.shibboleth.idp.consent.flow.impl.AbstractConsentAction
net.shibboleth.idp.consent.flow.ar.impl.AbstractAttributeReleaseAction
net.shibboleth.idp.consent.flow.ar.impl.ReleaseAttributes
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext, ProfileInterceptorContext interceptorContext) Performs this profile interceptor action.Methods inherited from class net.shibboleth.idp.consent.flow.ar.impl.AbstractAttributeReleaseAction
doPreExecute, getAttributeContext, getAttributeReleaseContext, getAttributeReleaseFlowDescriptor, setAttributeContextLookupStrategy, setAttributeReleaseContextLookupStrategyMethods inherited from class net.shibboleth.idp.consent.flow.impl.AbstractConsentAction
getConsentContext, getConsentFlowDescriptor, setConsentContextLookupStrategyMethods inherited from class net.shibboleth.idp.profile.interceptor.AbstractProfileInterceptorAction
doExecute, doPreExecute, setLookupStrategyMethods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
doExecute, execute, getBean, getBean, getMessage, getMessage, getMessage, getParameter, getParameter, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategyMethods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
getActivationCondition, setActivationConditionMethods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, ensureHttpServletRequest, ensureHttpServletResponse, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, isPreExecuteCalled, setHttpServletRequestSupplier, setHttpServletResponseSupplierMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
ReleaseAttributes
public ReleaseAttributes()
-
-
Method Details
-
doExecute
protected void doExecute(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull ProfileInterceptorContext interceptorContext) Performs this profile interceptor action. Default implementation does nothing.- Overrides:
doExecutein classAbstractProfileInterceptorAction- Parameters:
profileRequestContext- the current profile request contextinterceptorContext- the current profile interceptor context
-