|
JBoss port of sunxacml 2.0.8.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.xacml.sunxacml.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(List attributes)
Creates a new collection of subject attributes using the default subject cateorgy. |
|
Subject(Set attributes)
Deprecated. |
|
Subject(URI category,
List attributes)
Creates a new collection of subject attributes using the given subject category. |
|
Subject(URI category,
Set attributes)
Deprecated. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Set |
getAttributes()
Deprecated. |
List |
getAttributesAsList()
Returns the Attribute s associated with this subject. |
URI |
getCategory()
Returns the category of this subject's attributes. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, 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(List 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
objectspublic Subject(URI category, List 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
spublic List getAttributesAsList()
Attribute
s associated with this subject.
Set
of Attribute
spublic int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
JBoss port of sunxacml 2.0.8.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |