Class XacmlJsonParsingUtils.FullXacmlJsonAttributesParserFactory<BAG extends Iterable<? extends org.ow2.authzforce.core.pdp.api.value.AttributeValue>>
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.io.xacml.json.XacmlJsonParsingUtils.FullXacmlJsonAttributesParserFactory<BAG>
-
- Type Parameters:
BAG
- resulting from parsing XACML AttributeValues
- All Implemented Interfaces:
org.ow2.authzforce.core.pdp.api.io.SingleCategoryXacmlAttributesParser.Factory<org.json.JSONObject>
- Enclosing class:
- XacmlJsonParsingUtils
public static final class XacmlJsonParsingUtils.FullXacmlJsonAttributesParserFactory<BAG extends Iterable<? extends org.ow2.authzforce.core.pdp.api.value.AttributeValue>> extends Object implements org.ow2.authzforce.core.pdp.api.io.SingleCategoryXacmlAttributesParser.Factory<org.json.JSONObject>
Factory for XACML/JSON Attribute Parser that parses the named attributes (Attribute elements), and the free-form Content
-
-
Constructor Summary
Constructors Constructor Description FullXacmlJsonAttributesParserFactory(org.ow2.authzforce.core.pdp.api.io.XacmlRequestAttributeParser<org.json.JSONObject,BAG> xacmlJsonAttributeParser, org.ow2.authzforce.core.pdp.api.io.SingleCategoryAttributes.NamedAttributeIteratorConverter<BAG> namedAttributeIteratorConverter)
Creates instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.ow2.authzforce.core.pdp.api.io.SingleCategoryXacmlAttributesParser<org.json.JSONObject>
getInstance()
-
-
-
Constructor Detail
-
FullXacmlJsonAttributesParserFactory
public FullXacmlJsonAttributesParserFactory(org.ow2.authzforce.core.pdp.api.io.XacmlRequestAttributeParser<org.json.JSONObject,BAG> xacmlJsonAttributeParser, org.ow2.authzforce.core.pdp.api.io.SingleCategoryAttributes.NamedAttributeIteratorConverter<BAG> namedAttributeIteratorConverter)
Creates instance- Parameters:
xacmlJsonAttributeParser
- parser used to parse each XACML/JSON AttributenamedAttributeIteratorConverter
- converts iterator over attributes with values produced byxacmlJsonAttributeParser
, into constant-valued/immutable attribute iterator- Throws:
IllegalArgumentException
- errorif(xacmlJsonAttributeParser == null || namedAttributeIteratorConverter == null || xmlProcessor == null)
-
-