|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.balana.AbstractObligation
public abstract class AbstractObligation
Represents ObligationType in the XACML 2.0 and ObligationExpressionType in the XACML 2.0 policy schema. AbstractObligation class has been written to provide a unique interface for both XACML 2.0 and XACML 3.0
Field Summary | |
---|---|
protected int |
fulfillOn
effect that will cause this obligation to be included in a response |
protected URI |
obligationId
Identifier that uniquely identify the Obligation or ObligationExpression element |
Constructor Summary | |
---|---|
AbstractObligation()
|
Method Summary | |
---|---|
abstract void |
encode(StringBuilder builder)
Encodes this ObligationResult into its XML form and writes this out to the provided
StringBuilder |
abstract ObligationResult |
evaluate(EvaluationCtx ctx)
Evaluates obligation and creates the results |
int |
getFulfillOn()
Returns effect that will cause this obligation to be included in a response |
URI |
getId()
Returns the id of this obligation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected URI obligationId
protected int fulfillOn
Constructor Detail |
---|
public AbstractObligation()
Method Detail |
---|
public abstract ObligationResult evaluate(EvaluationCtx ctx)
ctx
- EvaluationCtx
ObligationResult
public int getFulfillOn()
public URI getId()
public abstract void encode(StringBuilder builder)
ObligationResult
into its XML form and writes this out to the provided
StringBuilder
- Parameters:
builder
- string 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 |