Class 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 Detail

      • attributes

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

      • 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 Detail

      • 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 JAXB 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