summaryrefslogtreecommitdiffstats
path: root/base/server
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2016-06-07 09:52:52 +0200
committerEndi S. Dewata <edewata@redhat.com>2016-06-10 17:05:40 +0200
commitc78ed33f527479c60437839861ad9f5b7551b16b (patch)
tree3bb5ed74ec1d2f95ba6d4f89297abbaf6ddfdc9d /base/server
parent20067ede195f039fd0864eb0aa8f69801bc03504 (diff)
downloadpki-c78ed33f527479c60437839861ad9f5b7551b16b.tar.gz
pki-c78ed33f527479c60437839861ad9f5b7551b16b.tar.xz
pki-c78ed33f527479c60437839861ad9f5b7551b16b.zip
Fixed TPS VLV filters.
Previously TPS VLVs for tokens and activities were defined using presence filters of some optional attributes. If the optional attribute is missing the entry will not be included in the search result. The VLVs have now been modified to use object class matching filters to ensure they match all tokens and activities. https://fedorahosted.org/pki/ticket/2354
Diffstat (limited to 'base/server')
-rw-r--r--base/server/cmscore/src/com/netscape/cmscore/dbs/DBRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/server/cmscore/src/com/netscape/cmscore/dbs/DBRegistry.java b/base/server/cmscore/src/com/netscape/cmscore/dbs/DBRegistry.java
index 4a2d5e495..6e6f83750 100644
--- a/base/server/cmscore/src/com/netscape/cmscore/dbs/DBRegistry.java
+++ b/base/server/cmscore/src/com/netscape/cmscore/dbs/DBRegistry.java
@@ -320,7 +320,7 @@ public class DBRegistry implements IDBRegistry, ISubsystem {
// if value contains no '*', then it is equality
if (value.indexOf('*') == -1) {
- if (type.equals("objectclass")) {
+ if (type.equalsIgnoreCase("objectclass")) {
String ldapNames[] = mOCclassNames.get(value);
if (ldapNames == null)