You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2022/10/13 07:57:44 UTC

[directory-server] branch master updated: Adding a new value for the PPOlicy interceptor

This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-server.git


The following commit(s) were added to refs/heads/master by this push:
     new 4a6a77ac8f Adding a new value for the PPOlicy interceptor
4a6a77ac8f is described below

commit 4a6a77ac8f0a430797aea3a7be5bf82645382b81
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Thu Oct 13 09:57:21 2022 +0200

    Adding a new value for the PPOlicy interceptor
---
 .../directory/server/core/api/InterceptorEnum.java    | 19 ++++++++++---------
 .../core/authn/ppolicy/PpolicyConfigContainer.java    |  1 -
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/core-api/src/main/java/org/apache/directory/server/core/api/InterceptorEnum.java b/core-api/src/main/java/org/apache/directory/server/core/api/InterceptorEnum.java
index 90515cf3c9..4c209ce9a1 100644
--- a/core-api/src/main/java/org/apache/directory/server/core/api/InterceptorEnum.java
+++ b/core-api/src/main/java/org/apache/directory/server/core/api/InterceptorEnum.java
@@ -27,21 +27,22 @@ package org.apache.directory.server.core.api;
  */
 public enum InterceptorEnum
 {
-    NORMALIZATION_INTERCEPTOR("normalizationInterceptor"),
-    AUTHENTICATION_INTERCEPTOR("authenticationInterceptor"),
-    REFERRAL_INTERCEPTOR("referralInterceptor"),
     ACI_AUTHORIZATION_INTERCEPTOR("aciAuthorizationInterceptor"),
-    DEFAULT_AUTHORIZATION_INTERCEPTOR("defaultAuthorizationInterceptor"),
     ADMINISTRATIVE_POINT_INTERCEPTOR("administrativePointInterceptor"),
+    AUTHENTICATION_INTERCEPTOR("authenticationInterceptor"),
+    CHANGE_LOG_INTERCEPTOR("changeLogInterceptor"),
+    COLLECTIVE_ATTRIBUTE_INTERCEPTOR("collectiveAttributeInterceptor"),
+    DEFAULT_AUTHORIZATION_INTERCEPTOR("defaultAuthorizationInterceptor"),
+    EVENT_INTERCEPTOR("eventInterceptor"),
     EXCEPTION_INTERCEPTOR("exceptionInterceptor"),
+    JOURNAL_INTERCEPTOR("journalInterceptor"),
+    NORMALIZATION_INTERCEPTOR("normalizationInterceptor"),
     OPERATIONAL_ATTRIBUTE_INTERCEPTOR("operationalAttributeInterceptor"),
+    PASSWORD_POLICY_INTERCEPTOR("ppolicyInterceptor"),
+    REFERRAL_INTERCEPTOR("referralInterceptor"),
     SCHEMA_INTERCEPTOR("schemaInterceptor"),
     SUBENTRY_INTERCEPTOR("subentryInterceptor"),
-    EVENT_INTERCEPTOR("eventInterceptor"),
-    TRIGGER_INTERCEPTOR("triggerInterceptor"),
-    CHANGE_LOG_INTERCEPTOR("changeLogInterceptor"),
-    COLLECTIVE_ATTRIBUTE_INTERCEPTOR("collectiveAttributeInterceptor"),
-    JOURNAL_INTERCEPTOR("journalInterceptor");
+    TRIGGER_INTERCEPTOR("triggerInterceptor");
 
     /** The associated interceptor name */
     private String name;
diff --git a/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/ppolicy/PpolicyConfigContainer.java b/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/ppolicy/PpolicyConfigContainer.java
index 6b2396c538..5f2cf8002e 100644
--- a/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/ppolicy/PpolicyConfigContainer.java
+++ b/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/ppolicy/PpolicyConfigContainer.java
@@ -35,7 +35,6 @@ import org.apache.directory.server.core.api.authn.ppolicy.PasswordPolicyConfigur
  */
 public class PpolicyConfigContainer
 {
-
     /** a map holding the entry specific password policies */
     private Map<Dn, PasswordPolicyConfiguration> ppolicyConfigMap = new HashMap<>();