From b07c0abd6d12c7f9ca9321ca0d01205b37b11d07 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 03 Jun 2016 06:45:18 +0000
Subject: [PATCH] OPENDJ-3037 Inlined DirectoryServer.getNameForm(), getDITContentRule(), getAttributeTypes()
---
opendj-server-legacy/src/main/java/org/opends/server/plugins/PasswordPolicyImportPlugin.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/plugins/PasswordPolicyImportPlugin.java b/opendj-server-legacy/src/main/java/org/opends/server/plugins/PasswordPolicyImportPlugin.java
index 9987aee..0a9001b 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/plugins/PasswordPolicyImportPlugin.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/plugins/PasswordPolicyImportPlugin.java
@@ -227,7 +227,7 @@
// syntax defined in the schema.
HashSet<AttributeType> authPWTypes = new HashSet<>();
HashSet<AttributeType> userPWTypes = new HashSet<>();
- for (AttributeType t : DirectoryServer.getAttributeTypes())
+ for (AttributeType t : DirectoryServer.getSchema().getAttributeTypes())
{
switch (SchemaUtils.checkPasswordType(t))
{
--
Gitblit v1.10.0