|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xacml.finder.AttributeFinderModule
org.exist.security.xacml.UserAttributeModule
public class UserAttributeModule
This class looks up attributes for a Subject with a subject-category
of access-subject. The currently supported attributes are
user name
and
groups
. This is a possible
implementation point for LDAP lookup if this is desired
in the future.
Constructor Summary | |
---|---|
UserAttributeModule(ExistPDP pdp)
Creates an AttributeFinderModule capable of retrieving attributes
for a User . |
Method Summary | |
---|---|
EvaluationResult |
findAttribute(URI attributeType,
URI attributeId,
URI issuer,
URI subjectCategory,
EvaluationCtx context,
int designatorType)
|
Set |
getSupportedDesignatorTypes()
Returns a Set containing
AttributeDesignator.SUBJECT_TARGET
to indicate that this module only supports
Subject s. |
Set |
getSupportedIds()
A Set containing the URI s
user name and
groups to indicate that
these are the only attributes supported by this module. |
boolean |
isDesignatorSupported()
Indicates support of looking up attributes by data supplied by an AttributeDesignator element, specifically, a SubjectAttributeDesignator element. |
Methods inherited from class com.sun.xacml.finder.AttributeFinderModule |
---|
findAttribute, getIdentifier, invalidateCache, isSelectorSupported |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserAttributeModule(ExistPDP pdp)
AttributeFinderModule
capable of retrieving attributes
for a User
.
pdp
- The ExistPDP
that is used to obtain information
about a given User
.Method Detail |
---|
public EvaluationResult findAttribute(URI attributeType, URI attributeId, URI issuer, URI subjectCategory, EvaluationCtx context, int designatorType)
findAttribute
in class AttributeFinderModule
public boolean isDesignatorSupported()
isDesignatorSupported
in class AttributeFinderModule
public Set getSupportedDesignatorTypes()
Set
containing
AttributeDesignator.SUBJECT_TARGET
to indicate that this module only supports
Subject
s.
getSupportedDesignatorTypes
in class AttributeFinderModule
Set
indicating the supported
designator type.public Set getSupportedIds()
Set
containing the URI
s
user name
and
groups
to indicate that
these are the only attributes supported by this module.
getSupportedIds
in class AttributeFinderModule
Set
indicating the supported
attribute ids.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |