From d79928cc7cd9a3edf6f6a4dcf213234015cd0590 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 29 Jan 2016 15:01:25 +0000
Subject: [PATCH] DirectoryServer.java: Renamed getAttributeTypeOrDefault(String) to getAttributeType(String)
---
opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
index b2a81c7..3e552d6 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
@@ -124,10 +124,10 @@
*/
private static void initStatics()
{
- aciType = getAttributeTypeOrDefault("aci");
- globalAciType = getAttributeTypeOrDefault(ATTR_AUTHZ_GLOBAL_ACI);
- debugSearchIndex = getAttributeTypeOrDefault(SuffixContainer.ATTR_DEBUG_SEARCH_INDEX);
- refAttrType = getAttributeTypeOrDefault(ATTR_REFERRAL_URL);
+ aciType = getAttributeType("aci");
+ globalAciType = getAttributeType(ATTR_AUTHZ_GLOBAL_ACI);
+ debugSearchIndex = getAttributeType(SuffixContainer.ATTR_DEBUG_SEARCH_INDEX);
+ refAttrType = getAttributeType(ATTR_REFERRAL_URL);
try
{
@@ -310,7 +310,7 @@
baseName = toLowerCase(rawAttributeType);
}
- container.setCurrentAttributeType(getAttributeTypeOrDefault(baseName));
+ container.setCurrentAttributeType(getAttributeType(baseName));
container.setCurrentAttributeValue(operation.getAssertionValue());
return isAllowed(container, operation);
}
--
Gitblit v1.10.0