Class XacmlJsonParsingUtils.ContentSkippingXacmlJsonAttributesParserFactory<BAG extends Iterable<? extends org.ow2.authzforce.core.pdp.api.value.AttributeValue>>
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.io.xacml.json.XacmlJsonParsingUtils.ContentSkippingXacmlJsonAttributesParserFactory<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.ContentSkippingXacmlJsonAttributesParserFactory<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 only parses the named attributes (Attribute elements), not the Content
-
-
Constructor Summary
Constructors Constructor Description ContentSkippingXacmlJsonAttributesParserFactory(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
-
ContentSkippingXacmlJsonAttributesParserFactory
public ContentSkippingXacmlJsonAttributesParserFactory(org.ow2.authzforce.core.pdp.api.io.XacmlRequestAttributeParser<org.json.JSONObject,BAG> xacmlJsonAttributeParser, org.ow2.authzforce.core.pdp.api.io.SingleCategoryAttributes.NamedAttributeIteratorConverter<BAG> namedAttributeIteratorConverter) throws IllegalArgumentException
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)
-
-