|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openliberty.openaz.pep.PepResponse
public class PepResponse
PepResponse is the main entry point for processing the results
of a PepRequest.decide()
call.
It enables processing one result at a time for an AzResponseContext,
which may contain multiple decisions from one of the
AzResponseContext
which enables access to the underlying low level AzApi funtions.
Please refer to PepRequestFactory
for code example containing
processing of a PepResponse.
Method Summary | |
---|---|
boolean |
allowed()
Returns the decision associated with the current result. |
java.lang.Object |
getAction()
Return the action object associated with the current result. |
AzResponseContext |
getAzResponseContext()
The handle to the actual AzResponseContext . |
java.util.Map<java.lang.String,Obligation> |
getObligations()
Return the set of Obligations associated with the current result indexed by ObligationId. |
PepRequest |
getPepRequest()
Return the PepRequest object associated with this PepResponse. |
java.lang.Object |
getResource()
Return the resource object associated with the current result. |
boolean |
next()
For bulk requests and query requests, move the iterator to the next result. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean next()
public boolean allowed() throws PepException
PepException
- if the Behavior
configured
in the PepResponseFactory
indicates that for the response should be thrownpublic java.lang.Object getAction() throws PepException
PepException
public java.lang.Object getResource() throws PepException
PepException
public java.util.Map<java.lang.String,Obligation> getObligations() throws PepException
PepException
public AzResponseContext getAzResponseContext()
AzResponseContext
.
public PepRequest getPepRequest()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |