|
|||||||||
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.AuthorizationDecisionQuery
This concrete class extends from the abstract base class
SubjectQuery
.
It represents the query for an authorization decision assertion. It
corresponds to the <samlp:AuthorizationDecisionQueryType>
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 | |
AuthorizationDecisionQuery(org.w3c.dom.Element element)
This constructor is used to build an Authorization Decision Query from a DOM tree that was built from the XML string. |
|
AuthorizationDecisionQuery(Subject theSubject,
java.util.List theActions,
Evidence theEvidence,
java.lang.String theResource)
Constructor |
|
AuthorizationDecisionQuery(Subject theSubject,
java.util.List theActions,
java.lang.String theResource)
Constructor |
Method Summary | |
java.util.List |
getAction()
Gets the List of Actions |
Evidence |
getEvidence()
Accessor for the Evidence |
int |
getQueryType()
Gets the type of the query. |
java.lang.String |
getResource()
Accessor for the Resource |
java.lang.String |
toString()
This method translates the AuthorizationDecisionQuery to an
XML document String based on the AuthorizationDecisionQuery
schema. |
java.lang.String |
toString(boolean includeNS,
boolean declareNS)
Create a String representation of the samlp:AuthorizationDecisionQuery 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 AuthorizationDecisionQuery(org.w3c.dom.Element element) throws SAMLException
element
- the DOM tree element which contains an Authorization
Decision Query.SAMLException
- when an error occurs.public AuthorizationDecisionQuery(Subject theSubject, java.util.List theActions, Evidence theEvidence, java.lang.String theResource) throws SAMLException
theSubject
- The subject of the query.theActions
- The List of Actions of the query.theEvidence
- The evidence of the query. It could be null when
there is no Evidence in the query.theResource
- A string representing the resource of the query.SAMLException
- when an error occurs.public AuthorizationDecisionQuery(Subject theSubject, java.util.List theActions, java.lang.String theResource) throws SAMLException
theSubject
- The subject of the query.theActions
- The List of Actions of the query.theResource
- A string representing the resource of the query.SAMLException
- when an error occurs.Method Detail |
public java.util.List getAction()
public Evidence getEvidence()
public java.lang.String getResource()
public int getQueryType()
getQueryType
in class Query
public java.lang.String toString()
AuthorizationDecisionQuery
to an
XML document String based on the AuthorizationDecisionQuery
schema.toString
in class java.lang.Object
AuthorizationDecisionQuery
.public java.lang.String toString(boolean includeNS, boolean declareNS)
samlp:AuthorizationDecisionQuery
element.toString
in class Query
includeNS
- 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 |