|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.security.xacml.sunxacml.attr.AttributeValue
org.jboss.security.xacml.sunxacml.attr.X500NameAttribute
public class X500NameAttribute
Representation of an X500 Name.
| Field Summary | |
|---|---|
static String |
identifier
Official name of this type |
| Constructor Summary | |
|---|---|
X500NameAttribute(X500Principal value)
Creates a new X500NameAttribute that represents the
value supplied. |
|
| Method Summary | |
|---|---|
String |
encode()
Encodes the value in a form suitable for including in XML data like a request or an obligation. |
boolean |
equals(Object o)
Returns true if the input is an instance of this class and if its value equals the value contained in this class. |
static X500NameAttribute |
getInstance(Node root)
Returns a new |
static X500NameAttribute |
getInstance(String value)
Returns a new X500NameAttribute that represents
the X500 Name value indicated by the string provided. |
X500Principal |
getValue()
Returns the name value represented by this object |
int |
hashCode()
Returns the hashcode value used to index and compare this object with others of the same type. |
| Methods inherited from class org.jboss.security.xacml.sunxacml.attr.AttributeValue |
|---|
encode, encode, encodeWithTags, evaluate, evaluatesToBag, getChildren, getType, isBag, returnsBag |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String identifier
| Constructor Detail |
|---|
public X500NameAttribute(X500Principal value)
X500NameAttribute that represents the
value supplied.
value - the X500 Name to be represented| Method Detail |
|---|
public static X500NameAttribute getInstance(Node root)
throws IllegalArgumentException
root - the Node that contains the desired value
X500NameAttribute representing the
appropriate value
IllegalArgumentException - if value is improperly specified
public static X500NameAttribute getInstance(String value)
throws IllegalArgumentException
X500NameAttribute that represents
the X500 Name value indicated by the string provided.
value - a string representing the desired value
X500NameAttribute representing the
appropriate value
IllegalArgumentException - if value is improperly specifiedpublic X500Principal getValue()
public boolean equals(Object o)
javax.security.auth.x500.X500Principal.equals(), while the
XACML spec uses a slightly different procedure. In practice, it is
expected that this difference will not be noticeable. For more
details, refer to the javadoc for X500Principal.equals()
and the XACML specification.
equals in class Objecto - the object to compare
public int hashCode()
hashCode in class Objectpublic String encode()
AttributeValue
encode in class AttributeValueString form of the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||