Class DecisionCache.Factory<CONF_T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractDecisionCache>

  • Type Parameters:
    CONF_T - type of extension configuration (initialization parameters)
    All Implemented Interfaces:
    PdpExtension
    Enclosing interface:
    DecisionCache

    public abstract static class DecisionCache.Factory<CONF_T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractDecisionCache>
    extends JaxbBoundPdpExtension<CONF_T>
    Factory for creating instance of DecisionCache extension
    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • getInstance

        public abstract DecisionCache getInstance​(CONF_T conf,
                                                  AttributeValueFactoryRegistry attributeValueFactories,
                                                  EnvironmentProperties envProps)
        Instantiates decision cache extension
        Parameters:
        conf - extension parameters
        envProps - environment properties
        attributeValueFactories - AttributeValue factories for the decision cache system to be able to create/restore AttributeValues from deserialized data stored or produced by external - possibly remote - systems (e.g. cache storage database). Remember that such attribute values can be present in decision results, typically in AttributeAssignments of Obligations/Advice.
        Returns:
        instance of extension