Class TestAttributeProviderDescriptor

java.lang.Object
org.ow2.authzforce.xmlns.pdp.ext.AbstractPdpExtension
org.ow2.authzforce.xmlns.pdp.ext.AbstractAttributeProvider
org.ow2.authzforce.core.pdp.testutil.ext.xmlns.TestAttributeProviderDescriptor

public class TestAttributeProviderDescriptor extends org.ow2.authzforce.xmlns.pdp.ext.AbstractAttributeProvider
Test Attribute Provider configuration descriptor. This Provider is used for test purposes only. It can be configured to support any attribute but returns always an empty bag as attribute value.

Java class for TestAttributeProviderDescriptor complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="TestAttributeProviderDescriptor">
   <complexContent>
     <extension base="{http://authzforce.github.io/xmlns/pdp/ext/3}AbstractAttributeProvider">
       <sequence>
         <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Attributes" maxOccurs="10"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected List<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes>
     

    Fields inherited from class org.ow2.authzforce.xmlns.pdp.ext.AbstractPdpExtension

    id
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default no-arg constructor
    TestAttributeProviderDescriptor(List<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes> attributes)
    Fully-initialising value constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    List<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes>
    Gets the value of the attributes property.

    Methods inherited from class org.ow2.authzforce.xmlns.pdp.ext.AbstractPdpExtension

    getId, setId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • attributes

      protected List<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes> attributes
  • Constructor Details

    • TestAttributeProviderDescriptor

      public TestAttributeProviderDescriptor()
      Default no-arg constructor
    • TestAttributeProviderDescriptor

      public TestAttributeProviderDescriptor(List<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes> attributes)
      Fully-initialising value constructor
  • Method Details

    • getAttributes

      public List<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes> getAttributes()
      Gets the value of the attributes property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the attributes property.

      For example, to add a new item, do as follows:

          getAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list Attributes

      Returns:
      The value of the attributes property.