idToPolicyMap = new ConcurrentHashMap<>();
+ public DefaultPolicyFactory() {
+ super(null);
+ }
+
// get/set global (system wide) policy?
@Override
diff --git a/impl/src/main/java/org/glassfish/exousia/modules/locked/SimplePolicyConfigurationFactory.java b/impl/src/main/java/org/glassfish/exousia/modules/locked/SimplePolicyConfigurationFactory.java
index d2c07f2..ce61e43 100644
--- a/impl/src/main/java/org/glassfish/exousia/modules/locked/SimplePolicyConfigurationFactory.java
+++ b/impl/src/main/java/org/glassfish/exousia/modules/locked/SimplePolicyConfigurationFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021 Contributors to Eclipse Foundation.
+ * Copyright (c) 2021, 2024 Contributors to Eclipse Foundation.
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
@@ -24,12 +24,12 @@
/**
* Abstract factory and finder class for obtaining the instance of the class that implements the
- * PolicyConfigurationFactory of a provider.
- *
+ * PolicyConfigurationFactory of a provider.
+ *
*
* The factory will be used to instantiate PolicyConfiguration objects that will be used by the deployment tools of the
* container to create and manage policy contexts within the Policy Provider.
- *
+ *
*
* Implementation classes must have a public no argument constructor that may be used to create an operational instance
* of the factory implementation class.
@@ -41,23 +41,27 @@
*/
public class SimplePolicyConfigurationFactory extends PolicyConfigurationFactory {
+ public SimplePolicyConfigurationFactory() {
+ super(null);
+ }
+
/**
* This method is used to obtain an instance of the provider specific class that implements the PolicyConfiguration
* interface that corresponds to the identified policy context within the provider. The methods of the
* PolicyConfiguration interface are used to define the policy statements of the identified policy context.
- *
+ *
*
* If at the time of the call, the identified policy context does not exist in the provider, then the policy context
* will be created in the provider and the Object that implements the context's PolicyConfiguration Interface will be
* returned. If the state of the identified context is "deleted" or "inService" it will be transitioned to the "open"
* state as a result of the call. The states in the lifecycle of a policy context are defined by the PolicyConfiguration
* interface.
- *
+ *
*
* For a given value of policy context identifier, this method must always return the same instance of
* PolicyConfiguration and there must be at most one actual instance of a PolicyConfiguration with a given policy
* context identifier (during a process context).
- *
+ *
*
* To preserve the invariant that there be at most one PolicyConfiguration object for a given policy context, it may be
* necessary for this method to be thread safe.
diff --git a/spi/tomcat/pom.xml b/spi/tomcat/pom.xml
index 37c2cd7..14c64c1 100644
--- a/spi/tomcat/pom.xml
+++ b/spi/tomcat/pom.xml
@@ -100,13 +100,13 @@
jakarta.servlet
jakarta.servlet-api
- 6.1.0-M2
+ 6.1.0
provided
jakarta.authorization
jakarta.authorization-api
- 3.0.0-M2
+ 3.0.0-M4
provided