|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.sun.identity.saml.protocol.Query
|
+--com.sun.identity.saml.protocol.SubjectQuery
|
+--com.sun.identity.saml.protocol.AttributeQuery
This concrete class extends from the abstract base class SubjectQuery. It represents the query for an attribute assertion. It corresponds to the samlp:AttributeQueryType in the SAML protocol schema.
| Fields inherited from class com.sun.identity.saml.protocol.Query |
ATTRIBUTE_QUERY, AUTHENTICATION_QUERY, AUTHORIZATION_DECISION_QUERY, NOT_SUPPORTED_QUERY |
| Constructor Summary | |
AttributeQuery(org.w3c.dom.Element element)
This constructor is used to build an Attribute Query from a DOM tree that was built from the XML string. |
|
AttributeQuery(Subject theSubject)
Constructor to construct an AttributeQuery with 0 AttributeDesignator, and no Resource attribute. |
|
AttributeQuery(Subject theSubject,
java.util.List designators)
Constructor to construct an AttributeQuery with a list of AttributeDesignators. |
|
AttributeQuery(Subject theSubject,
java.util.List designators,
java.lang.String theResource)
Constructor. |
|
| Method Summary | |
java.util.List |
getAttributeDesignator()
Gets the AttributeDesignator |
int |
getQueryType()
Gets the type of the query. |
java.lang.String |
getResource()
Gets the Resource. |
java.lang.String |
toString()
This method translates the AttributeQuery to an XML document String based on the AttributeQuery schema. |
java.lang.String |
toString(boolean includeNS,
boolean declareNS)
Create a String representation of the samlp:AttributeQuery element. |
| Methods inherited from class com.sun.identity.saml.protocol.SubjectQuery |
getSubject |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AttributeQuery(org.w3c.dom.Element element)
throws SAMLException
element - the DOM tree element which contains an Attribute Query.
public AttributeQuery(Subject theSubject,
java.util.List designators,
java.lang.String theResource)
throws SAMLException
theSubject - Subject of this query.designators - List of AttributeDesignators of this query.theResource - the Resource attribute of this query in String format.
public AttributeQuery(Subject theSubject,
java.util.List designators)
throws SAMLException
theSubject - Subject of this query.designators - List of AttributeDesignators of this query.
public AttributeQuery(Subject theSubject)
throws SAMLException
theSubject - Subject of this query.| Method Detail |
public java.lang.String getResource()
public java.util.List getAttributeDesignator()
public int getQueryType()
getQueryType in class Querypublic java.lang.String toString()
toString in class java.lang.Object
public java.lang.String toString(boolean includeNS,
boolean declareNS)
toString in class QueryIncludeNS - : Determines whether or not the namespace qualifier
is prepended to the Element when convertedDeclareNS - : Determines whether or not the namespace is declared
within the Element.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||