From d89c47e7cb1b3c9181e25582539aac1dedb46099 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 08 Aug 2016 07:31:25 +0000
Subject: [PATCH] Partial OPENDJ-3106 Migrate Entry
---
opendj-server-legacy/src/main/java/org/opends/server/api/AuthenticationPolicyState.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/api/AuthenticationPolicyState.java b/opendj-server-legacy/src/main/java/org/opends/server/api/AuthenticationPolicyState.java
index 4f6c544..2ab91e3 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/api/AuthenticationPolicyState.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/api/AuthenticationPolicyState.java
@@ -95,7 +95,7 @@
protected static ConditionResult getBoolean(final Entry entry,
final AttributeType attributeType) throws DirectoryException
{
- for (final Attribute a : entry.getAttribute(attributeType))
+ for (final Attribute a : entry.getAllAttributes(attributeType))
{
if (a.isEmpty())
{
@@ -170,7 +170,7 @@
{
long timeValue = -1;
- for (final Attribute a : entry.getAttribute(attributeType))
+ for (final Attribute a : entry.getAllAttributes(attributeType))
{
if (a.isEmpty())
{
--
Gitblit v1.10.0