public class LDAPAttributeFinder extends DesignatorAttributeFinderModule
m_attributesattributesDenied, DATE_ATTRIBUTE_TYPE_URI, DATETIME_ATTRIBUTE_TYPE_URI, EMPTY_RESULTS, EMPTY_STRING_ARRAY, INTEGER_ATTRIBUTE_TYPE_URI, STRING_ATTRIBUTE_TYPE_URI, TIME_ATTRIBUTE_TYPE_URI| Constructor and Description |
|---|
LDAPAttributeFinder(java.util.Map<java.lang.String,java.lang.String> options) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.security.xacml.sunxacml.cond.EvaluationResult |
findAttribute(java.net.URI attributeType,
java.net.URI attributeId,
java.net.URI issuer,
java.net.URI subjectCategory,
org.jboss.security.xacml.sunxacml.EvaluationCtx context,
int designatorType)
Used to get an attribute.
|
void |
init() |
boolean |
isDesignatorSupported()
Returns true always because this module supports designators.
|
static void |
main(java.lang.String[] args) |
canHandleAdhoc, emptyAttributeMap, getAttributeLocally, getSupportedDesignatorTypes, setActionAttributes, setAttributes, setEnvironmentAttributes, setResourceAttributes, setSubjectAttributesdenyAttribute, getAttributeFromEvaluationResult, getAttributeIdUri, getAttributeType, getAttributeType, getAttributeTypeUri, hasAttribute, hasAttribute, iAm, registerAttribute, registerAttribute, registerAttribute, registerSupportedDesignatorType, setInstantiatedOkpublic LDAPAttributeFinder(java.util.Map<java.lang.String,java.lang.String> options)
public void init()
throws AttributeFinderException
AttributeFinderExceptionpublic boolean isDesignatorSupported()
isDesignatorSupported in class DesignatorAttributeFinderModulepublic org.jboss.security.xacml.sunxacml.cond.EvaluationResult findAttribute(java.net.URI attributeType,
java.net.URI attributeId,
java.net.URI issuer,
java.net.URI subjectCategory,
org.jboss.security.xacml.sunxacml.EvaluationCtx context,
int designatorType)
findAttribute in class AttributeFinderModuleattributeType - the datatype of the attributes to find, which must be time, date,
or dateTime for this module to resolve a valueattributeId - the identifier of the attributes to find, which must be one of the
three ENVIRONMENT_* fields for this module to resolve a valueissuer - the issuer of the attributes, or null if unspecifiedsubjectCategory - the category of the attribute or null, which ignored since this
only handles non-subjectscontext - the representation of the request datadesignatorType - the type of designator, which must be ENVIRONMENT_TARGET for this
module to resolve a valuepublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2014 DuraSpace. All Rights Reserved.