Class SetSectorIdentifierForAttributeResolution
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.plugin.oidc.op.profile.impl.AbstractOIDCRequestAction<AuthenticationRequest>
net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCAuthenticationRequestAction
net.shibboleth.idp.plugin.oidc.op.profile.impl.SetSectorIdentifierForAttributeResolution
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,org.springframework.beans.factory.Aware,org.springframework.context.MessageSource,org.springframework.context.MessageSourceAware,org.springframework.webflow.execution.Action
public class SetSectorIdentifierForAttributeResolution
extends AbstractOIDCAuthenticationRequestAction
An action that sets
AttributeResolutionContext.setAttributeRecipientGroupID(java.lang.String) to sector identifier if pairwise
subject is requested. This values is later used by computed id generation. If public subject is requested, then a
shared value is used instead of sector identifier.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.private Function<ProfileRequestContext,String> Strategy used to obtain sector identifier.private Function<ProfileRequestContext,SubjectType> Strategy used to obtain subject type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) voidSet the strategy used to locate sector identifier.voidSet the strategy used to locate subject type.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCAuthenticationRequestAction
getAuthenticationRequestMethods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCRequestAction
doPreExecute, getRequestMethods 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. -
sectorIdentifierLookupStrategy
Strategy used to obtain sector identifier. -
subjectTypeLookupStrategy
Strategy used to obtain subject type.
-
-
Constructor Details
-
SetSectorIdentifierForAttributeResolution
public SetSectorIdentifierForAttributeResolution()Constructor.
-
-
Method Details
-
setSectorIdentifierLookupStrategy
public void setSectorIdentifierLookupStrategy(@Nonnull Function<ProfileRequestContext, String> strategy) Set the strategy used to locate sector identifier.- Parameters:
strategy- lookup strategy
-
setSubjectTypeLookupStrategy
public void setSubjectTypeLookupStrategy(@Nonnull Function<ProfileRequestContext, SubjectType> strategy) Set the strategy used to locate subject type.- Parameters:
strategy- lookup strategy
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-