|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.balana.ctx.AbstractRequestCtx
public abstract class AbstractRequestCtx
Represents a XACML request made to the PDP. This is the class that contains all the data used to start a policy evaluation.abstract class has been defined to give a unique interface for both XACML 2.0 and XACML 3.0 RequestCtx
Field Summary | |
---|---|
protected Set<Attributes> |
attributesSet
XACML3 attributes as Attributes objects |
protected Node |
documentRoot
|
protected boolean |
isSearch
|
protected int |
xacmlVersion
|
Constructor Summary | |
---|---|
AbstractRequestCtx()
|
Method Summary | |
---|---|
abstract void |
encode(OutputStream output)
Encodes this AbstractRequestCtx into its XML representation and writes this encoding to the given
OutputStream . |
abstract void |
encode(OutputStream output,
Indenter indenter)
Encodes this AbstractRequestCtx into its XML representation and writes this encoding to the given
OutputStream with indentation. |
Set<Attributes> |
getAttributesSet()
Returns a Set containing Attribute objects. |
Node |
getDocumentRoot()
Returns the root DOM node of the document used to create this object, or null if this object was created by hand (ie, not through the getInstance method) or if the root node
was not provided to the constructor. |
int |
getXacmlVersion()
|
boolean |
isSearch()
|
void |
setSearch(boolean isSearch)
|
void |
setXacmlVersion(int xacmlVersion)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int xacmlVersion
protected Node documentRoot
protected Set<Attributes> attributesSet
Attributes
objects
protected boolean isSearch
Constructor Detail |
---|
public AbstractRequestCtx()
Method Detail |
---|
public Node getDocumentRoot()
getInstance
method) or if the root node
was not provided to the constructor.
public void setSearch(boolean isSearch)
public boolean isSearch()
public int getXacmlVersion()
public void setXacmlVersion(int xacmlVersion)
public Set<Attributes> getAttributesSet()
Set
containing Attribute
objects.
Set
public abstract void encode(OutputStream output, Indenter indenter)
AbstractRequestCtx
into its XML representation and writes this encoding to the given
OutputStream
with indentation.
output
- a stream into which the XML-encoded data is writtenindenter
- an object that creates indentation stringspublic abstract void encode(OutputStream output)
AbstractRequestCtx
into its XML representation and writes this encoding to the given
OutputStream
. No indentation is used.
output
- a stream into which the XML-encoded data is written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |