Uses of Class
net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext
Packages that use AttributeResolutionContext
Package
Description
A system which is capable of retrieving a collection of
IdPAttributes from a variety of locations, transform them,
and associate a set of protocol-specific encoders to them.Implementations of various
AttributeDefinitions.A
DataConnector implementation that maps from a given set of
source value to an output value.The context to do with Attribute Resolution.
Functions for navigating attribute resolution contexts.
Interfaces supporting data connectors.
A
DataConnector implementation that
reads data from an HTTP web service.Common functionality used by data connectors.
Testing utility classes.
Package for LDAP data connector configuration.
Package for RDBMS data connector configuration.
Implementation of StorageService-backed data connector.
Implementations of core resolver functionality.
Testing utility classes.
Implementations of SAML related
AttributeDefinition
and DataConnector.-
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver
Methods in net.shibboleth.idp.attribute.resolver with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionprotected abstract IdPAttributeAbstractAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributeResolvedAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected abstract Map<String,IdPAttribute> AbstractDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.protected Map<String,IdPAttribute> ResolvedDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.protected IdPAttributeAbstractAttributeDefinition.doResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Perform the actual resolution.final Map<String,IdPAttribute> AbstractDataConnector.doResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Perform the actual resolution.protected abstract ResolvedTypeAbstractResolverPlugin.doResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Perform the actual resolution.final ResolvedTypeAbstractResolverPlugin.resolve(AttributeResolutionContext resolutionContext) Performs the attribute resolution for this plugin.ResolverPlugin.resolve(AttributeResolutionContext resolutionContext) Perform the attribute resolution for this plugin.voidAttributeResolver.resolveAttributes(AttributeResolutionContext resolutionContext) Resolves the attribute for the give request.private booleanAbstractResolverPlugin.startTimer(AttributeResolutionContext resolutionContext) Conditionally start a timer at the beginning of the resolution process.private voidAbstractResolverPlugin.stopTimer(AttributeResolutionContext resolutionContext) Conditionally stop a timer at the end of the resolution process. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.ad.impl
Methods in net.shibboleth.idp.attribute.resolver.ad.impl with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionprotected IdPAttributeContextDerivedAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) protected IdPAttributeDateTimeAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributeDecryptedAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributePrescopedAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributePrincipalNameAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) protected IdPAttributeRegexSplitAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributeScopedAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributeScriptedAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributeSimpleAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributeStaticAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributeTemplateAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributeScriptedAttributeDefinition.AttributeDefinitionScriptEvaluator.execute(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Execution hook. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.ad.mapped.impl
Methods in net.shibboleth.idp.attribute.resolver.ad.mapped.impl with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionprotected IdPAttributeMappedAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.context
Fields in net.shibboleth.idp.attribute.resolver.context with type parameters of type AttributeResolutionContextModifier and TypeFieldDescriptionAttributeResolutionContext.prcLookupStrategyStrategy used to locate theProfileRequestContextto use.Methods in net.shibboleth.idp.attribute.resolver.context that return AttributeResolutionContextModifier and TypeMethodDescriptionAttributeResolutionContext.setAllowCachedResults(boolean flag) Set whether to allow for results from cache.AttributeResolutionContext.setAttributeIssuerID(String value) Set the attribute issuer (me) associated with this resolution.AttributeResolutionContext.setAttributeRecipientGroupID(String value) Set the attribute recipient grouping associated with this resolution.AttributeResolutionContext.setAttributeRecipientID(String value) Set the attribute recipient (her) associated with this resolution.AttributeResolutionContext.setPrincipal(String who) Set the principal associated with this resolution.AttributeResolutionContext.setProfileRequestContextLookupStrategy(Function<AttributeResolutionContext, ProfileRequestContext> strategy) Set the strategy used to locate theProfileRequestContextassociated with this context.AttributeResolutionContext.setRequestedIdPAttributeNames(Collection<String> names) Set the (internal) names of the attributes requested to be resolved.AttributeResolutionContext.setResolutionLabel(String label) Set the optional "contextual" label associated with this attribute resolution.AttributeResolutionContext.setResolvedIdPAttributes(Collection<IdPAttribute> attributes) Set the set of resolved attributes.Methods in net.shibboleth.idp.attribute.resolver.context that return types with arguments of type AttributeResolutionContextModifier and TypeMethodDescriptionAttributeResolutionContext.getProfileRequestContextLookupStrategy()Gets the strategy used to locate theProfileRequestContextassociated with this context.Method parameters in net.shibboleth.idp.attribute.resolver.context with type arguments of type AttributeResolutionContextModifier and TypeMethodDescriptionAttributeResolutionContext.setProfileRequestContextLookupStrategy(Function<AttributeResolutionContext, ProfileRequestContext> strategy) Set the strategy used to locate theProfileRequestContextassociated with this context. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.dc
Methods in net.shibboleth.idp.attribute.resolver.dc with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionExecutableSearchBuilder.build(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Creates an executable search that can be executed against a data source in order to produce results. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.dc.http.impl
Methods in net.shibboleth.idp.attribute.resolver.dc.http.impl with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionAbstractHTTPSearchBuilder.build(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Creates an executable search that can be executed against a data source in order to produce results.protected org.apache.hc.core5.http.ClassicHttpRequestAbstractHTTPSearchBuilder.getHttpRequest(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Default implementation just supports GET and builds a request around a URL.protected org.apache.hc.core5.http.ClassicHttpRequestTemplatedBodyBuilder.getHttpRequest(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Default implementation just supports GET and builds a request around a URL.protected StringAbstractHTTPSearchBuilder.getResultCacheKey(org.apache.hc.core5.http.ClassicHttpRequest request, AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Default implementation just allows caching of GET requests and returns the URI itself.protected StringTemplatedBodyBuilder.getResultCacheKey(org.apache.hc.core5.http.ClassicHttpRequest request, AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Default implementation just allows caching of GET requests and returns the URI itself.protected StringAbstractHTTPSearchBuilder.getURL(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Method to return the URL to access via GET.protected StringTemplatedURLBuilder.getURL(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Method to return the URL to access via GET. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.dc.impl
Methods in net.shibboleth.idp.attribute.resolver.dc.impl with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionprotected Map<String,IdPAttribute> AbstractSearchDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.protected Map<String,IdPAttribute> ContextDerivedDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.protected Map<String,IdPAttribute> PairwiseIdDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.protected Map<String,IdPAttribute> ScriptedDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.protected Map<String,IdPAttribute> StaticDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.protected Map<String,IdPAttribute> ScriptedDataConnector.DataConnectorScriptEvaluator.execute(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Execution hook. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.dc.impl.testing
Fields in net.shibboleth.idp.attribute.resolver.dc.impl.testing with type parameters of type AttributeResolutionContextModifier and TypeFieldDescriptionprivate Function<AttributeResolutionContext,List<Attribute>> SAMLAttributeDataConnector.attributesStrategyThe way to get the list of (SAML) attributes from the resolution context.Methods in net.shibboleth.idp.attribute.resolver.dc.impl.testing that return types with arguments of type AttributeResolutionContextModifier and TypeMethodDescriptionSAMLAttributeDataConnector.getAttributesStrategy()Gets the strategy for finding the (SAML) Attributes from the resolution context.Methods in net.shibboleth.idp.attribute.resolver.dc.impl.testing with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionprotected Map<String,IdPAttribute> SAMLAttributeDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.Method parameters in net.shibboleth.idp.attribute.resolver.dc.impl.testing with type arguments of type AttributeResolutionContextModifier and TypeMethodDescriptionvoidSAMLAttributeDataConnector.setAttributesStrategy(Function<AttributeResolutionContext, List<Attribute>> strategy) Sets the strategy for finding the(SAML) Attributes from the resolution context. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.dc.ldap
Methods in net.shibboleth.idp.attribute.resolver.dc.ldap with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionprotected voidTemplatedExecutableSearchFilterBuilder.addExtraVelocityContext(org.apache.velocity.VelocityContext velocityContext, AttributeResolutionContext resolutionContext) Method to allow private additions to the velocity context.ParameterizedExecutableSearchFilterBuilder.build(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Creates an executable search that can be executed against a data source in order to produce results.TemplatedExecutableSearchFilterBuilder.build(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Creates an executable search that can be executed against a data source in order to produce results. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.dc.rdbms
Methods in net.shibboleth.idp.attribute.resolver.dc.rdbms with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionprotected voidTemplatedExecutableStatementBuilder.addExtraVelocityContext(org.apache.velocity.VelocityContext velocityContext, AttributeResolutionContext resolutionContext) Method to allow private additions to the velocity context.AbstractExecutableStatementBuilder.build(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Creates an executable search that can be executed against a data source in order to produce results.protected abstract StringAbstractExecutableStatementBuilder.getSQLQuery(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Method to return the query SQL.protected StringFormatExecutableStatementBuilder.getSQLQuery(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Method to return the query SQL.final StringTemplatedExecutableStatementBuilder.getSQLQuery(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Apply the context to the template. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.dc.storage.impl
Methods in net.shibboleth.idp.attribute.resolver.dc.storage.impl with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionTemplatedSearchBuilder.build(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Creates an executable search that can be executed against a data source in order to produce results.TemplatedSearchBuilder.getContextAndKey(AttributeResolutionContext resolutionContext, Map<String, List<IdPAttributeValue>> dependencyAttributes) Helper method to extract the parameters needed for theStorageServiceSearch. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.impl
Methods in net.shibboleth.idp.attribute.resolver.impl with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionprivate voidAttributeResolverImpl.collectExportingDataConnectors(Map<String, IdPAttribute> resolvedAttributes, AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Helper function to collect attributes and their data & metadata from suitable data connectors.protected voidAttributeResolverImpl.finalizePreResolvedAttributes(AttributeResolutionContext resolutionContext) Collects the set of pre resolved attributes and places them in anAttributeContextwhich inserted as a child of theAttributeResolutionContextand also returned.protected voidAttributeResolverImpl.finalizeResolvedAttributes(AttributeResolutionContext resolutionContext) Finalizes the set of resolved attributes and places them in theAttributeResolutionContext.protected Collection<String>AttributeResolverImpl.getToBeResolvedAttributeIds(AttributeResolutionContext resolutionContext) Gets the list of attributes, identified by IDs, that should be resolved.protected voidAttributeResolverImpl.resolveAttributeDefinition(String attributeId, AttributeResolutionContext resolutionContext) Resolve theAttributeDefinitionwhich has the specified ID.voidAttributeResolverImpl.resolveAttributes(AttributeResolutionContext resolutionContext) Resolves the attribute for the given request.protected voidAttributeResolverImpl.resolveDataConnector(String connectorId, AttributeResolutionContext resolutionContext) Resolve theDataConnectorwhich has the specified ID.protected voidAttributeResolverImpl.resolveDependencies(ResolverPlugin<?> plugin, AttributeResolutionContext resolutionContext) Resolves all the dependencies for a given plugin.private booleanAttributeResolverImpl.startTimer(AttributeResolutionContext resolutionContext) Conditionally start a timer at the beginning of the resolution process.private voidAttributeResolverImpl.stopTimer(AttributeResolutionContext resolutionContext) Conditionally stop a timer at the end of the resolution process. -
Uses of AttributeResolutionContext in net.shibboleth.idp.attribute.resolver.testing
Methods in net.shibboleth.idp.attribute.resolver.testing that return AttributeResolutionContextModifier and TypeMethodDescriptionstatic AttributeResolutionContextResolverTestSupport.buildResolutionContext(ResolverPlugin<?>... plugins) work method to build aAttributeResolutionContextstatic AttributeResolutionContextTestSources.createResolutionContext(String principal, String issuerID, String recipientId) Build an appropriateAttributeResolutionContext.Methods in net.shibboleth.idp.attribute.resolver.testing with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionprotected IdPAttributeMockAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributeMockStaticAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected IdPAttributeTestSources.StaticAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Creates and populates the values for the resolved attribute.protected Map<String,IdPAttribute> MockDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.protected Map<String,IdPAttribute> MockStaticDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.protected Map<String,IdPAttribute> TestSources.StaticDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source. -
Uses of AttributeResolutionContext in net.shibboleth.idp.saml.attribute.resolver.impl
Methods in net.shibboleth.idp.saml.attribute.resolver.impl with parameters of type AttributeResolutionContextModifier and TypeMethodDescriptionprotected NameIdentifierSAML1NameIdentifierAttributeDefinition.buildNameId(String nameIdValue, AttributeResolutionContext resolutionContext) Deprecated, for removal: This API element is subject to removal in a future version.Builds a name ID.protected NameIDSAML2NameIDAttributeDefinition.buildNameId(String nameIdValue, AttributeResolutionContext resolutionContext) Deprecated, for removal: This API element is subject to removal in a future version.Builds a name ID.protected IdPAttributeSAML1NameIdentifierAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Deprecated, for removal: This API element is subject to removal in a future version.Creates and populates the values for the resolved attribute.protected IdPAttributeSAML2NameIDAttributeDefinition.doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Deprecated, for removal: This API element is subject to removal in a future version.Creates and populates the values for the resolved attribute.protected Map<String,IdPAttribute> EntityAttributesDataConnector.doDataConnectorResolve(AttributeResolutionContext resolutionContext, AttributeResolverWorkContext workContext) Retrieves a collection of attributes from some data source.private XMLObjectAttributeValueSAML1NameIdentifierAttributeDefinition.encodeOneValue(IdPAttributeValue theValue, AttributeResolutionContext resolutionContext) Deprecated, for removal: This API element is subject to removal in a future version.Worker function for doAttributeDefintionResolve.private XMLObjectAttributeValueSAML2NameIDAttributeDefinition.encodeOneValue(IdPAttributeValue theValue, AttributeResolutionContext resolutionContext) Deprecated, for removal: This API element is subject to removal in a future version.Worker function for doAttributeDefintionResolve.