public abstract class StorageAttributeLocator extends AttributeLocator
AttributeFinderModule.findAttribute(URI, URI, URI, URI, EvaluationCtx, int)
methodModifier and Type | Field and Description |
---|---|
protected Object |
attributeValue |
protected String |
dataTypeOfSubstituteValue |
protected String |
substituteValue
Represents an URI that we will use to pick from the xacml
request to substitute in a DB prepared statement or ldap DN
to authenticate/identify the target/person/employee we are trying
to get an attribute for.
|
attributeDesignatorSupported, attributeSelectorSupported, designatorTypes, identifier, ids, map, options
ATTRIBUTE_DESIGNATOR_INTEGER_TAG, ATTRIBUTE_DESIGNATOR_SUPPORT_TAG, ATTRIBUTE_SELECTOR_SUPPORT_TAG, ATTRIBUTE_SUPPORTED_ID_TAG, IDENTIFIER_TAG, RESOURCE_CHILD_SUPPORTED_TAG, RESOURCE_DESCENDANT_SUPPORTED_TAG
Constructor and Description |
---|
StorageAttributeLocator() |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
getSubstituteValue(URI attributeType,
EvaluationCtx context)
For locators based on DB or LDAP, we may need one value that needs to be substituted in the DB prepared
statement or ldap DIT query.
|
get, getAttributeValue, getIdentifier, getOptionValue, getSupportedDesignatorTypes, getSupportedIds, isDesignatorSupported, isSelectorSupported, set, setOptions, usePassedOption
findAttribute, findAttribute, invalidateCache
protected String dataTypeOfSubstituteValue
protected String substituteValue
protected Object attributeValue
protected abstract Object getSubstituteValue(URI attributeType, EvaluationCtx context) throws URISyntaxException
attributeType
- context
- URISyntaxException
Copyright © 2023 JBoss by Red Hat. All rights reserved.