Package org.openliberty.openaz.pep

The goal of this package is to simplify the creation of Policy Enforcement Points or peps built on top of the azapi package (note that where the class descriptions below are blank, that generally means that the class is primarily used for lower layer non-application facing opearations).

See:
          Description

Interface Summary
DecisionHandler Interface for the main decide method that takes request objects submitted as collections of attributes and returns response objects from the returned decisions and obligation attributes.
JavaObjectMapper JavaObjectMapper is responsible for converting a POJO into an AzWrapperRequestObject.
PostDecisionHandler An interface that may be implemented to process the PepResponse that is returned from the main decide() call before the final results are returned to the user.
PreDecisionHandler An interface that can be used for preliminary processing of a PepRequest before it is actually submitted to the main decide() method.
 

Class Summary
Action  
ActionFactory  
AzWrapperObject<T extends Enum<T>>  
AzWrapperRequestObject<T extends Enum<T>> A wrapper around AzEntity that simplifies the setting of some common XACML sttributes using Java Objects.
AzWrapperRequestObjectFactory<T extends Enum<T>>  
AzWrapperResponseObject<T extends Enum<T>>  
AzWrapperResponseObjectFactory<T extends Enum<T>>  
DefaultDecisionHandler Provides a default implementation of the decide() method and has null implementations of preDecide() and postDecide().
Environment  
EnvironmentFactory  
Obligation The Obligation object contains a set of zero or more Attributes.
ObligationFactory  
PepRequest A wrapper around the AzRequestContext
PepRequestFactory The main entry point for building a PEP
PepResponse PepResponse is the main entry point for processing the results of a PepRequest.decide() call.
PepResponseFactory Factory for creating and configuring PepResponse.
Resource  
ResourceFactory  
SimpleJavaObjectMapper Default implementation of JavObjectMapper.
SimpleJavaPermissionMapper Default Java Permission implementation of JavObjectMapper.
Subject  
SubjectFactory  
 

Enum Summary
PepRequest.QUERY_TYPE  
PepResponseFactory.Behavior An enum containing an enumerated list of behavior options.
 

Exception Summary
PepException  
 

Package org.openliberty.openaz.pep Description

The goal of this package is to simplify the creation of Policy Enforcement Points or peps built on top of the azapi package (note that where the class descriptions below are blank, that generally means that the class is primarily used for lower layer non-application facing opearations). To accomplish this, the pep package makes some simplifying assumptions:

The pep package is a simple layer on top of the azapi package. All of the state is held inside of the classes in the azapi package. This was done for both simplicity and to accommodate the creation of PEPs that can benefit from the simpler API but need a little more than the assumptions allow. This is accomplished by being able to retrieve the AzApiRequestContext from the PepRequest and being able to retrieve the AzApiResponseContext from the PepResponse. Since all of the state is in the azapi package, PEPs can just grab a handle and continue build the request or processing the response