Class AttributeQueryProfileConfiguration
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.profile.config.AbstractProfileConfiguration
net.shibboleth.profile.config.AbstractConditionalProfileConfiguration
net.shibboleth.idp.profile.config.AbstractInterceptorAwareProfileConfiguration
net.shibboleth.idp.saml.profile.config.impl.AbstractSAMLProfileConfiguration
net.shibboleth.idp.saml.saml1.profile.config.impl.AbstractSAML1ArtifactAwareProfileConfiguration
net.shibboleth.idp.saml.saml1.profile.config.impl.AbstractSAML1AssertionProducingProfileConfiguration
net.shibboleth.idp.saml.saml1.profile.config.impl.AttributeQueryProfileConfiguration
- All Implemented Interfaces:
InterceptorAwareProfileConfiguration,SAMLProfileConfiguration,AttributeResolvingProfileConfiguration,ConditionalProfileConfiguration,ProfileConfiguration,SAMLArtifactAwareProfileConfiguration,SAMLAssertionProducingProfileConfiguration,SAMLProfileConfiguration,AttributeQueryProfileConfiguration,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
public class AttributeQueryProfileConfiguration
extends AbstractSAML1AssertionProducingProfileConfiguration
implements AttributeQueryProfileConfiguration, SAMLAssertionProducingProfileConfiguration
Configuration support for SAML 1 attribute query requests.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,String> Lookup strategy for attribute recipient group ID.static final StringName of profile counter.private Function<ProfileRequestContext,Collection<String>> Lookup strategy for requested IdP attribute names to pass into resolver.Fields inherited from interface net.shibboleth.saml.saml1.profile.config.AttributeQueryProfileConfiguration
PROFILE_IDFields inherited from interface net.shibboleth.profile.config.ProfileConfiguration
DEFAULT_DISALLOWED_FEATURESFields inherited from interface net.shibboleth.saml.profile.config.SAMLAssertionProducingProfileConfiguration
DEFAULT_ASSERTION_LIFETIME -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructor.protectedAttributeQueryProfileConfiguration(String profileId) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeRecipientGroupID(ProfileRequestContext profileRequestContext) getRequestedIdPAttributeNames(ProfileRequestContext profileRequestContext) booleanisResolveAttributes(ProfileRequestContext profileRequestContext) voidsetAttributeRecipientGroupID(String groupID) Set the group of services for which attributes are being resolved.voidSet the lookup strategy for the group of services for which attributes are being resolved.voidSetIdPAttributenames to resolve (if resolving attributes).voidsetRequestedIdPAttributeNamesLookupStrategy(Function<ProfileRequestContext, Collection<String>> strategy) Lookup strategy forIdPAttributenames to resolve (if resolving attributes).Methods inherited from class net.shibboleth.idp.saml.saml1.profile.config.impl.AbstractSAML1AssertionProducingProfileConfiguration
getAssertionAudiences, getAssertionLifetime, isIncludeConditionsNotBefore, isSignAssertions, setAdditionalAudiencesForAssertion, setAdditionalAudiencesForAssertionLookupStrategy, setAssertionAudiences, setAssertionAudiencesLookupStrategy, setAssertionLifetime, setAssertionLifetimeLookupStrategy, setIncludeConditionsNotBefore, setIncludeConditionsNotBeforePredicate, setSignAssertions, setSignAssertionsPredicateMethods inherited from class net.shibboleth.idp.saml.saml1.profile.config.impl.AbstractSAML1ArtifactAwareProfileConfiguration
getArtifactConfiguration, setArtifactConfiguration, setArtifactConfigurationLookupStrategyMethods inherited from class net.shibboleth.idp.saml.profile.config.impl.AbstractSAMLProfileConfiguration
getMessageHandler, isSignRequests, isSignResponses, setMessageDecorator, setMessageHandler, setMessageHandlerLookupStrategy, setSignRequests, setSignRequestsPredicate, setSignResponses, setSignResponsesPredicateMethods inherited from class net.shibboleth.idp.profile.config.AbstractInterceptorAwareProfileConfiguration
getInboundInterceptorFlows, getOutboundInterceptorFlows, setInboundInterceptorFlows, setInboundInterceptorFlowsLookupStrategy, setOutboundInterceptorFlows, setOutboundInterceptorFlowsLookupStrategyMethods inherited from class net.shibboleth.profile.config.AbstractConditionalProfileConfiguration
getActivationCondition, setActivationConditionMethods inherited from class net.shibboleth.profile.config.AbstractProfileConfiguration
equals, getDisallowedFeatures, getSecurityConfiguration, hashCode, isFeatureDisallowed, setDisallowedFeatures, setDisallowedFeaturesLookupStrategy, setSecurityConfiguration, setSecurityConfigurationLookupStrategyMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
doInitialize, ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.idp.profile.config.InterceptorAwareProfileConfiguration
getInboundInterceptorFlows, getOutboundInterceptorFlowsMethods inherited from interface net.shibboleth.profile.config.ProfileConfiguration
getDisallowedFeatures, getSecurityConfiguration, isFeatureDisallowedMethods inherited from interface net.shibboleth.saml.profile.config.SAMLAssertionProducingProfileConfiguration
getAssertionAudiences, getAssertionLifetime, isIncludeConditionsNotBefore, isSignAssertionsMethods inherited from interface net.shibboleth.saml.profile.config.SAMLProfileConfiguration
getMessageHandler, isSignRequests, isSignResponses
-
Field Details
-
PROFILE_COUNTER
Name of profile counter.- See Also:
-
requestedIdPAttributeNamesLookupStrategy
@Nonnull private Function<ProfileRequestContext,Collection<String>> requestedIdPAttributeNamesLookupStrategyLookup strategy for requested IdP attribute names to pass into resolver. -
attributeRecipientGroupIDLookupStrategy
Lookup strategy for attribute recipient group ID.
-
-
Constructor Details
-
AttributeQueryProfileConfiguration
public AttributeQueryProfileConfiguration()Constructor. -
AttributeQueryProfileConfiguration
Constructor.- Parameters:
profileId- unique ID for this profile
-
-
Method Details
-
isResolveAttributes
- Specified by:
isResolveAttributesin interfaceAttributeResolvingProfileConfiguration
-
getRequestedIdPAttributeNames
@Nonnull @Unmodifiable @NotLive public Collection<String> getRequestedIdPAttributeNames(@Nullable ProfileRequestContext profileRequestContext) - Specified by:
getRequestedIdPAttributeNamesin interfaceAttributeResolvingProfileConfiguration
-
setRequestedIdPAttributeNames
SetIdPAttributenames to resolve (if resolving attributes).- Parameters:
names-IdPAttributenames to resolve- Since:
- 5.2.0
-
setRequestedIdPAttributeNamesLookupStrategy
public void setRequestedIdPAttributeNamesLookupStrategy(@Nonnull Function<ProfileRequestContext, Collection<String>> strategy) Lookup strategy forIdPAttributenames to resolve (if resolving attributes).- Parameters:
strategy- lookup strategy- Since:
- 5.2.0
-
getAttributeRecipientGroupID
@Nullable public String getAttributeRecipientGroupID(@Nullable ProfileRequestContext profileRequestContext) - Specified by:
getAttributeRecipientGroupIDin interfaceAttributeResolvingProfileConfiguration
-
setAttributeRecipientGroupID
Set the group of services for which attributes are being resolved.- Parameters:
groupID- group identifier- Since:
- 5.2.0
-
setAttributeRecipientGroupIDLookupStrategy
public void setAttributeRecipientGroupIDLookupStrategy(@Nonnull Function<ProfileRequestContext, String> strategy) Set the lookup strategy for the group of services for which attributes are being resolved.- Parameters:
strategy- lookup strategy- Since:
- 5.2.0
-