public abstract class LDAPAttributeLocator extends StorageAttributeLocator
| Modifier and Type | Field and Description |
|---|---|
protected LDAPCommon |
ldapCommon |
attributeValue, dataTypeOfSubstituteValue, substituteValueattributeDesignatorSupported, attributeSelectorSupported, designatorTypes, identifier, ids, map, optionsATTRIBUTE_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 |
|---|
LDAPAttributeLocator() |
| Modifier and Type | Method and Description |
|---|---|
EvaluationResult |
findAttribute(URI attributeType,
URI attributeId,
URI issuer,
URI subjectCategory,
EvaluationCtx context,
int designatorType)
Tries to find attribute values based on the given designator data.
|
void |
setOptions(List<Option> theoptions)
Set a list of options on the locator
|
protected void |
usePassedOption(String optionTag,
String optionValue)
An opportunity for sub-classes to process the passed option tag and value
|
getSubstituteValueget, getAttributeValue, getIdentifier, getOptionValue, getSupportedDesignatorTypes, getSupportedIds, isDesignatorSupported, isSelectorSupported, setfindAttribute, invalidateCacheprotected LDAPCommon ldapCommon
public void setOptions(List<Option> theoptions)
AbstractLocatorsetOptions in interface AbstractLocatorsetOptions in class AttributeLocatorpublic EvaluationResult findAttribute(URI attributeType, URI attributeId, URI issuer, URI subjectCategory, EvaluationCtx context, int designatorType)
AttributeFinderModuleBagAttribute, even if only one value was found. If no
values were found, but no other error occurred, an empty bag is
returned. This method may need to invoke the context data to look
for other attribute values, so a module writer must take care not
to create a scenario that loops forever.findAttribute in class AttributeFinderModuleattributeType - the datatype of the attributes to findattributeId - the identifier of the attributes to findissuer - the issuer of the attributes, or null if unspecifiedsubjectCategory - the category of the attribute if the
designatorType is SUBJECT_TARGET, otherwise nullcontext - the representation of the request datadesignatorType - the type of designator as named by the *_TARGET
fields in AttributeDesignatorprotected void usePassedOption(String optionTag, String optionValue)
AttributeLocatorAn opportunity for sub-classes to process the passed option tag and value
NOTE: Subclasses should override this method and allow super class processing before their own processing in the method via the super.usePassedOption() call.
usePassedOption in class AttributeLocatorCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.