Package org.example.azapi

The AzApi package contains the interfaces that must be implemented by a provider.

See:
          Description

Interface Summary
AzAttribute<T extends Enum<T> & AzCategoryId>  
AzAttributeValue<U extends Enum<U> & AzDataTypeId,V> AzAttributeValue is the parent interface of all the subinterfaces that provide for the implementation of each XACML DataType as enumerated by the enums that implement AzDataTypeId.
AzAttributeValueAnyURI AzAttributeValueAnyURI contains Java URI object that may be used to generate the XACML #anyURI DataType.
AzAttributeValueBase64Binary AzAttributeValueBase64Binary contains a Java byte[] object that may be used to generate the XACML #base64Binary DataType.
AzAttributeValueBoolean AzAttributeValueBoolean contains a Java Boolean object that may be used to generate the XACML #boolean DataType.
AzAttributeValueDate AzAttributeValueDate contains the Java Date object that is intended be used to generate the XACML #date DataType.
AzAttributeValueDateTime AzAttributeValueDateTime contains an AzDataDateTime object that is intended to be used to generate the XACML #dateTime DataType.
AzAttributeValueDayTimeDuration AzAttributeValueDayTimeDuration contains AzDataDayTimeDuration object that may be used to generate the XACML #dayTimeDuration DataType.
AzAttributeValueDnsName AzAttributeValueDnsName contains Java String object that may be used to generate the XACML #dnsName DataType.
AzAttributeValueDouble AzAttributeValueDouble contains a Java Double object that may be used to generate the XACML #double DataType.
AzAttributeValueHexBinary AzAttributeValueHexBinary contains a Java byte[] object that may be used to generate the XACML #hexBinary DataType.
AzAttributeValueInteger AzAttributeValueInteger contains a Java Long object that may be used to generate the XACML #integer DataType.
AzAttributeValueIpAddress AzAttributeValueIpAddress contains Java String object that may be used to generate the XACML #ipAddress DataType.
AzAttributeValueRfc822Name AzAttributeValueRfc822Name contains Java String object that may be used to generate the XACML #rfc822Name DataType.
AzAttributeValueString AzAttributeValueString contains a Java String object that may be used to generate the XACML #string DataType.
AzAttributeValueTime AzAttributeValueDate contains the Java Date object within an AzDataDateTime object that contains the information to be used to generate the XACML #date DataType.
AzAttributeValueX500Name AzAttributeValueX500Name contains Java X500Principal object that may be used to generate the XACML #x500Name DataType.
AzAttributeValueYearMonthDuration AzAttributeValueDayTimeDuration contains AzDataDayTimeDuration object that may be used to generate the XACML #dayTimeDuration DataType.
AzDataByteArray Helper class to box a byte array (byte[]) to pass as generic type
AzDataDateTime Helper interface to collect the parameters necessary to create the XACML #date, #time, #dateTime DataTypes.
AzDataDayTimeDuration Helper interface to collect the parameters needed to create a XACML #dayTimeDuration DataType
AzDataYearMonthDuration Helper interface to store the parameters needed to create a XACML #yearMonthDuration DataType
AzEntity<T extends Enum<T> & AzCategoryId> The AzEntity Interface represents a XACML collection of attributes.
AzObligations  
AzRequestContext The AzRequestContext is the structure used to collect all the information that is required to make one or more authorization requests.
AzResourceActionAssociation The AzResourceActionAssociation is a pairing of an AzResource entity (aka: AzEntity), and an AzAction entity (aka: AzEntity), for the purpose of submitting the pair as a specific resource/action pair for which an authorization decision can be obtained.
AzResourceActionAssociationId This is a helper class to make the resource-id and action-id readily available, if present, for reference.
AzResponseContext The AzResponseContext which is returned by an AzService.decide call corresponds to the XML Response Context Defined by XACML.
AzResult  
AzService The AzService interface is the main entry point and service module for this package, which is generally referred to as the "AzAPI" or "AzApi" (Authorization Application Programming Interface).
 

Package org.example.azapi Description

The AzApi package contains the interfaces that must be implemented by a provider. The following diagram shows the backbone architecture of AzApi. Additional interfaces to those in the boxes are generally components included within the main boxes.


                  +---------------+
                  |   AzService   | - create it
                  |               |
                  |               |
                  +---------------+
                                   
                  +---------------+                         +---------------+
                  |   AzRequest   | - create it             |   AzResponse  |
                  |    Context    | - addAzEntity (T)       |    Context    |
                  |               | - getAzEntity (T,id)    |               |
                  |               | - removeAzEntity (T,id) |               |
                  +---------------+                         +---------------+
                                   
                  +---------------+
                  |   AzEntity    | - create it
                  |      (T)      | - addAzAttribute (W) to it
                  | AzCategoryId* | - getAzAttribute from it (by attr id, next())
                  |               | - removeAzAttribute from it (by attr id, current())
                  |               | - getAzCategoryId (T)
                  +---------------+
                                   
                  +---------------+
                  |  AzAttribute  | - create it
                  |      (T)      | - setAzAttributeValue (U,V) to it
                  | AzCategoryId* | - getAzAttributeValue (U,V) from it
                  |               | - getAzCategoryId (T)
                  +---------------+
                                   
                  +--------------------------+
                  |         AzAttribute      | - create it
                  |            Value         | - setJavaObject to it
                  |            (U,V)         | - getJavaObject from it (V)
                  |    Xacml     |   Java    | - getAzDataTypeId (U)
                  |     type     |   type    |
                  |AzDataTypeId* |   AzData* |
                  +--------------+-----------+
                                   
        Note: AzRequestContext is collection of AzEntity collections
                AzEntity is collection of AzAttributes