public class RITriplesAttributeFinder extends DesignatorAttributeFinderModule
m_attributesattributesDenied, STRING_ATTRIBUTE_URI| Constructor and Description |
|---|
RITriplesAttributeFinder(ResourceIndex resourceIndex) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.xacml.cond.EvaluationResult |
findAttribute(URI attributeType,
URI attributeId,
URI issuer,
URI subjectCategory,
com.sun.xacml.EvaluationCtx context,
int designatorType)
Used to get an attribute.
|
Set<Integer> |
getSupportedDesignatorTypes()
Returns a
Set with a single Integer specifying
that environment attributes are supported by this module. |
void |
init() |
boolean |
isDesignatorSupported()
Returns true always because this module supports designators.
|
canHandleAdhoc, emptyAttributeMap, getAttributeLocally, setActionAttributes, setAttributes, setEnvironmentAttributes, setResourceAttributes, setSubjectAttributesgetAttributeFromEvaluationResult, getAttributeIdUri, getAttributeType, getAttributeTypeUri, hasAttribute, iAm, registerAttribute, registerSupportedDesignatorType, setInstantiatedOkpublic RITriplesAttributeFinder(ResourceIndex resourceIndex)
public void init()
throws AttributeFinderException
AttributeFinderExceptionpublic boolean isDesignatorSupported()
isDesignatorSupported in class DesignatorAttributeFinderModulepublic Set<Integer> getSupportedDesignatorTypes()
DesignatorAttributeFinderModuleSet with a single Integer specifying
that environment attributes are supported by this module.getSupportedDesignatorTypes in class DesignatorAttributeFinderModuleSet with
AttributeDesignator.ENVIRONMENT_TARGET includedpublic com.sun.xacml.cond.EvaluationResult findAttribute(URI attributeType, URI attributeId, URI issuer, URI subjectCategory, com.sun.xacml.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 valueCopyright © 2013 DuraSpace. All Rights Reserved.