|
|||||||||
Home >> All >> com >> sun >> xacml >> [ test overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
com.sun.xacml.test
Class TestAttributeFinderModule

java.lang.Objectcom.sun.xacml.finder.AttributeFinderModule
com.sun.xacml.test.TestAttributeFinderModule
- public class TestAttributeFinderModule
- extends com.sun.xacml.finder.AttributeFinderModule
An AttributeFinderModule
used to handle the example
role attribute used by the conformance tests.
Field Summary | |
static java.lang.String |
ROLE_IDENTIFIER
The example identifier this module supports |
private static java.net.URI |
subjectIdentifier
|
Constructor Summary | |
TestAttributeFinderModule()
Default constructor. |
Method Summary | |
com.sun.xacml.cond.EvaluationResult |
findAttribute(java.net.URI attributeType,
java.net.URI attributeId,
java.net.URI issuer,
java.net.URI subjectCategory,
com.sun.xacml.EvaluationCtx context,
int designatorType)
Supports the retrieval of exactly one kind of attribute. |
java.util.Set |
getSupportedDesignatorTypes()
Returns only SUBJECT_TARGET since this module only
supports Subject attributes. |
java.util.Set |
getSupportedIds()
Returns the one identifer this module supports. |
boolean |
isDesignatorSupported()
Always returns true, since designators are supported. |
Methods inherited from class com.sun.xacml.finder.AttributeFinderModule |
findAttribute, getIdentifier, invalidateCache, isSelectorSupported |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
ROLE_IDENTIFIER
public static final java.lang.String ROLE_IDENTIFIER
- The example identifier this module supports
- See Also:
- Constant Field Values
subjectIdentifier
private static java.net.URI subjectIdentifier
Constructor Detail |
TestAttributeFinderModule
public TestAttributeFinderModule()
- Default constructor.
Method Detail |
isDesignatorSupported
public boolean isDesignatorSupported()
- Always returns true, since designators are supported.
getSupportedDesignatorTypes
public java.util.Set getSupportedDesignatorTypes()
- Returns only
SUBJECT_TARGET
since this module only supports Subject attributes.
getSupportedIds
public java.util.Set getSupportedIds()
- Returns the one identifer this module supports.
findAttribute
public com.sun.xacml.cond.EvaluationResult findAttribute(java.net.URI attributeType, java.net.URI attributeId, java.net.URI issuer, java.net.URI subjectCategory, com.sun.xacml.EvaluationCtx context, int designatorType)
- Supports the retrieval of exactly one kind of attribute.
|
|||||||||
Home >> All >> com >> sun >> xacml >> [ test overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |