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.sp.profile.config.AbstractConditionalProfileConfiguration
net.shibboleth.sp.saml.saml2.profile.config.impl.AbstractSAML2ProfileConfiguration
net.shibboleth.sp.saml.saml2.profile.config.impl.AttributeQueryProfileConfiguration
- All Implemented Interfaces:
AttributeResolvingProfileConfiguration,ConditionalProfileConfiguration,ProfileConfiguration,SAMLProfileConfiguration,AttributeQueryProfileConfiguration,SAML2ProfileConfiguration,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
public class AttributeQueryProfileConfiguration
extends AbstractSAML2ProfileConfiguration
implements AttributeQueryProfileConfiguration
Configuration support for IdP SAML 2.0 attribute query profile.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,String> Lookup strategy for attribute recipient group ID.private Predicate<MessageContext>Predicate used to determine if SOAP-based requests should use client TLS.static final StringName of profile counter.private Function<ProfileRequestContext,Collection<String>> Lookup strategy for requested IdP attribute names to pass into resolver.private Predicate<MessageContext>Predicate used to determine if SOAP-based requests should be signed.Fields inherited from interface net.shibboleth.saml.saml2.profile.config.AttributeQueryProfileConfiguration
PROFILE_IDFields inherited from interface net.shibboleth.profile.config.ProfileConfiguration
DEFAULT_DISALLOWED_FEATURES -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructor.protectedAttributeQueryProfileConfiguration(String profileId) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeRecipientGroupID(ProfileRequestContext profileRequestContext) getRequestedIdPAttributeNames(ProfileRequestContext profileRequestContext) booleanisClientTLSSOAPRequests(MessageContext messageContext) booleanisResolveAttributes(ProfileRequestContext profileRequestContext) booleanisSignSOAPRequests(MessageContext messageContext) 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.voidsetClientTLSSOAPRequests(boolean flag) Set whether SOAP-based requests should use client TLS.voidsetClientTLSSOAPRequestsPredicate(Predicate<MessageContext> predicate) Set the predicate used to determine if SOAP-based requests should use client TLS.voidSetIdPAttributenames to resolve (if resolving attributes).voidsetRequestedIdPAttributeNamesLookupStrategy(Function<ProfileRequestContext, Collection<String>> strategy) Lookup strategy forIdPAttributenames to resolve (if resolving attributes).voidsetSignSOAPRequests(boolean flag) Set whether SOAP-based requests should be signed.voidsetSignSOAPRequestsPredicate(Predicate<MessageContext> predicate) Set the predicate used to determine if SOAP-based requests should be signed.Methods inherited from class net.shibboleth.sp.saml.saml2.profile.config.impl.AbstractSAML2ProfileConfiguration
getMessageHandler, isEncryptionOptional, isEncryptNameIDs, isIgnoreRequestSignatures, isSignRequests, isSignResponses, setEncryptionOptional, setEncryptionOptionalPredicate, setEncryptNameIDs, setEncryptNameIDsPredicate, setIgnoreRequestSignatures, setIgnoreRequestSignaturesPredicate, setMessageHandler, setMessageHandlerLookupStrategy, setSignRequests, setSignRequestsPredicate, setSignResponses, setSignResponsesPredicateMethods inherited from class net.shibboleth.sp.profile.config.AbstractConditionalProfileConfiguration
setDisallowedFeaturesMethods 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.profile.config.ProfileConfiguration
getDisallowedFeatures, getSecurityConfiguration, isFeatureDisallowedMethods inherited from interface net.shibboleth.saml.saml2.profile.config.SAML2ProfileConfiguration
isEncryptionOptional, isEncryptNameIDs, isIgnoreRequestSignaturesMethods 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. -
signSOAPRequestsPredicate
Predicate used to determine if SOAP-based requests should be signed. -
clientTLSSOAPRequestsPredicate
Predicate used to determine if SOAP-based requests should use client TLS.
-
-
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
-
isSignSOAPRequests
- Specified by:
isSignSOAPRequestsin interfaceAttributeQueryProfileConfiguration
-
setSignSOAPRequests
public void setSignSOAPRequests(boolean flag) Set whether SOAP-based requests should be signed.- Parameters:
flag- flag to set- Since:
- 5.2.0
-
setSignSOAPRequestsPredicate
Set the predicate used to determine if SOAP-based requests should be signed.- Parameters:
predicate- the predicate- Since:
- 5.2.0
-
isClientTLSSOAPRequests
- Specified by:
isClientTLSSOAPRequestsin interfaceAttributeQueryProfileConfiguration
-
setClientTLSSOAPRequests
public void setClientTLSSOAPRequests(boolean flag) Set whether SOAP-based requests should use client TLS.- Parameters:
flag- flag to set- Since:
- 5.2.0
-
setClientTLSSOAPRequestsPredicate
Set the predicate used to determine if SOAP-based requests should use client TLS.- Parameters:
predicate- the predicate- Since:
- 5.2.0
-