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
FieldsModifier and TypeFieldDescriptionprotected 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
ConstructorsConstructorDescriptionDefault no-arg constructorTestAttributeProviderDescriptor
(List<oasis.names.tc.xacml._3_0.core.schema.wd_17.Attributes> attributes) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionList<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
-
Field Details
-
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
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.
-