|
SunTM's XACML Implementation for JavaTM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xacml.ctx.Subject
public class Subject
This class represents the collection of Attribute
s associated
with a particular subject.
Field Summary | |
---|---|
static URI |
DEFAULT_CATEGORY
URI form of the default subject category |
Constructor Summary | |
---|---|
Subject(Set attributes)
Creates a new collection of subject attributes using the default subject cateorgy. |
|
Subject(URI category,
Set attributes)
Creates a new collection of subject attributes using the given subject category. |
Method Summary | |
---|---|
Set |
getAttributes()
Returns the Attribute s associated with this subject. |
URI |
getCategory()
Returns the category of this subject's attributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final URI DEFAULT_CATEGORY
URI
form of the default subject category
Constructor Detail |
---|
public Subject(Set attributes)
attributes
- a non-null Set
of Attribute
objectspublic Subject(URI category, Set attributes)
category
- the subject category or null for the default categoryattributes
- a non-null Set
of Attribute
objectsMethod Detail |
---|
public URI getCategory()
public Set getAttributes()
Attribute
s associated with this subject.
Set
of Attribute
s
|
Sun's XACML Implementation Version 1.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun, Sun Microsystems, the Sun Logo, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.