Class XacmlJsonParsingUtils.FullXacmlJsonAttributesParserFactory<BAG extends Iterable<? extends org.ow2.authzforce.core.pdp.api.value.AttributeValue>>

  • 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 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 Attribute
        namedAttributeIteratorConverter - converts iterator over attributes with values produced by xacmlJsonAttributeParser, into constant-valued/immutable attribute iterator
        Throws:
        IllegalArgumentException - error if(xacmlJsonAttributeParser == null || namedAttributeIteratorConverter == null || xmlProcessor == null)
    • Method Detail

      • getInstance

        public org.ow2.authzforce.core.pdp.api.io.SingleCategoryXacmlAttributesParser<org.json.JSONObject> getInstance()
        Specified by:
        getInstance in interface org.ow2.authzforce.core.pdp.api.io.SingleCategoryXacmlAttributesParser.Factory<BAG extends Iterable<? extends org.ow2.authzforce.core.pdp.api.value.AttributeValue>>