|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | 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
public class 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.
Field Summary | |
---|---|
protected List |
actions
|
protected Evidence |
evidence
|
protected String |
resource
|
Fields inherited from class com.sun.identity.saml.protocol.SubjectQuery |
---|
subject |
Fields inherited from class com.sun.identity.saml.protocol.Query |
---|
ATTRIBUTE_QUERY, AUTHENTICATION_QUERY, AUTHORIZATION_DECISION_QUERY, NOT_SUPPORTED_QUERY |
Constructor Summary | |
---|---|
protected |
AuthorizationDecisionQuery()
Default Constructor |
|
AuthorizationDecisionQuery(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,
List theActions,
Evidence theEvidence,
String theResource)
Constructor |
|
AuthorizationDecisionQuery(Subject theSubject,
List theActions,
String theResource)
Constructor |
Method Summary | |
---|---|
List |
getAction()
Returns the List of Actions. |
Evidence |
getEvidence()
Returns the Evidence |
int |
getQueryType()
Returns the type of the query. |
String |
getResource()
Accessor for the Resource |
String |
toString()
This method translates the AuthorizationDecisionQuery to an
XML document String based on the AuthorizationDecisionQuery
schema. |
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 |
Field Detail |
---|
protected String resource
protected List actions
protected Evidence evidence
Constructor Detail |
---|
protected AuthorizationDecisionQuery()
public AuthorizationDecisionQuery(Element element) throws SAMLException
element
- the DOM tree element which contains an Authorization
Decision Query.
SAMLException
- when an error occurs.public AuthorizationDecisionQuery(Subject theSubject, List theActions, Evidence theEvidence, 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, List theActions, 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 List getAction()
public Evidence getEvidence()
Evidence
public String getResource()
public int getQueryType()
getQueryType
in class Query
public String toString()
AuthorizationDecisionQuery
to an
XML document String based on the AuthorizationDecisionQuery
schema.
toString
in class Object
AuthorizationDecisionQuery
.public 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |