|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openliberty.openaz.pep.PepResponseFactory
public class PepResponseFactory
Factory for creating and configuring PepResponse
.
This class creates PepResponse
objects and configures
the behavior of how the PepResponse
interprets the
results from the AzService.
The Behavior
can either be to
Nested Class Summary | |
---|---|
static class |
PepResponseFactory.Behavior
An enum containing an enumerated list of behavior options. |
Constructor Summary | |
---|---|
PepResponseFactory()
|
Method Summary | |
---|---|
PepResponse |
createPepResponse(AzResponseContext responseContext,
PepRequest pepRequest,
org.openliberty.openaz.pep.PepRequest.OPERATION operation)
|
PepResponse |
createPepResponse(java.util.Set<AzResourceActionAssociation> actionResourceAssociations,
PepRequest pepRequest,
boolean queryAllowed)
|
PepResponseFactory.Behavior |
getMissingAttributeBehavior()
|
PepResponseFactory.Behavior |
getNotApplicableBehavior()
|
ObligationFactory |
getObligationFactory()
|
PepResponseFactory.Behavior |
getProcessingErrorBehavior()
|
PepResponseFactory.Behavior |
getSyntaxErrorBehavior()
|
void |
setMissingAttributeBehavior(PepResponseFactory.Behavior missingAttributeBehavior)
Set the behavior to one of those described in PepResponseFactory.Behavior when
an Indeterminate decision with a MissingAttribute status code is returned from the underlying AzApi implementation. |
void |
setNotApplicableBehavior(PepResponseFactory.Behavior notApplicableBehavior)
Set the behavior to one of those described in PepResponseFactory.Behavior when
a NotApplicable decision is returned from the underlying AzApi implementation. |
void |
setObligationFactory(ObligationFactory obligationFactory)
|
void |
setProcessingErrorBehavior(PepResponseFactory.Behavior processingErrorBehavior)
Set the behavior to one of those described in PepResponseFactory.Behavior when
an Indeterminate decision with a ProcessingError status code is returned from the underlying AzApi implementation. |
void |
setSyntaxErrorBehavior(PepResponseFactory.Behavior syntaxErrorBehavior)
Set the behavior to one of those described in PepResponseFactory.Behavior when
an Indeterminate decision with a SyntaxError status code is returned from the underlying AzApi implementation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PepResponseFactory()
Method Detail |
---|
public PepResponse createPepResponse(AzResponseContext responseContext, PepRequest pepRequest, org.openliberty.openaz.pep.PepRequest.OPERATION operation)
public PepResponse createPepResponse(java.util.Set<AzResourceActionAssociation> actionResourceAssociations, PepRequest pepRequest, boolean queryAllowed)
public void setObligationFactory(ObligationFactory obligationFactory)
public ObligationFactory getObligationFactory()
public void setNotApplicableBehavior(PepResponseFactory.Behavior notApplicableBehavior)
PepResponseFactory.Behavior
when
a NotApplicable decision is returned from the underlying AzApi implementation.
notApplicableBehavior
- public PepResponseFactory.Behavior getNotApplicableBehavior()
public void setSyntaxErrorBehavior(PepResponseFactory.Behavior syntaxErrorBehavior)
PepResponseFactory.Behavior
when
an Indeterminate decision with a SyntaxError status code is returned from the underlying AzApi implementation.
syntaxErrorBehavior
- public PepResponseFactory.Behavior getSyntaxErrorBehavior()
public void setProcessingErrorBehavior(PepResponseFactory.Behavior processingErrorBehavior)
PepResponseFactory.Behavior
when
an Indeterminate decision with a ProcessingError status code is returned from the underlying AzApi implementation.
processingErrorBehavior
- public PepResponseFactory.Behavior getProcessingErrorBehavior()
public void setMissingAttributeBehavior(PepResponseFactory.Behavior missingAttributeBehavior)
PepResponseFactory.Behavior
when
an Indeterminate decision with a MissingAttribute status code is returned from the underlying AzApi implementation.
missingAttributeBehavior
- public PepResponseFactory.Behavior getMissingAttributeBehavior()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |