summaryrefslogtreecommitdiff
path: root/src/com/memberwebs
diff options
context:
space:
mode:
authorStef <stef@ws.local>2004-06-15 00:45:14 +0000
committerStef <stef@ws.local>2004-06-15 00:45:14 +0000
commit33de0919d98e7a202ce6cbd9572adc26842652f0 (patch)
tree3705c92b836ca9a4c51a1d004944b338abcde1bc /src/com/memberwebs
parent883da86de8dc14cc09ff587fab800a09501abcae (diff)
Fixed bug where not enough attributes were being retrieved
Diffstat (limited to 'src/com/memberwebs')
-rw-r--r--src/com/memberwebs/ldapxml/map/LXMap.java6
-rw-r--r--src/com/memberwebs/ldapxml/map/LXSAXHandler.java2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/com/memberwebs/ldapxml/map/LXMap.java b/src/com/memberwebs/ldapxml/map/LXMap.java
index 2676f18..b12c984 100644
--- a/src/com/memberwebs/ldapxml/map/LXMap.java
+++ b/src/com/memberwebs/ldapxml/map/LXMap.java
@@ -63,6 +63,9 @@ public class LXMap
// Cache of the name set
private Set m_nameSet;
+ // Whether to use the nameset or not
+ boolean m_hasInclusive;
+
/**
* Constructs a new LXMap object.
*/
@@ -71,6 +74,7 @@ public class LXMap
super(null);
m_nameMap = nameMap;
m_nameSet = nameSet;
+ m_hasInclusive = false;
}
@@ -107,7 +111,7 @@ public class LXMap
*/
public final Set getNameSet()
{
- return m_nameSet;
+ return m_hasInclusive ? null : m_nameSet;
}
/**
diff --git a/src/com/memberwebs/ldapxml/map/LXSAXHandler.java b/src/com/memberwebs/ldapxml/map/LXSAXHandler.java
index d81c240..8ede4bb 100644
--- a/src/com/memberwebs/ldapxml/map/LXSAXHandler.java
+++ b/src/com/memberwebs/ldapxml/map/LXSAXHandler.java
@@ -418,7 +418,7 @@ class LXSAXHandler
else if(inc.equals(VAL_INCLUSIVE))
{
// We don't know the list of names
- m_nameSet = null;
+ m_map.m_hasInclusive = true;
cls.m_isInclusive = true;
}
else