Author: nkinder
Update of /cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv/panel
In directory
cvs-int.fedora.redhat.com:/tmp/cvs-serv2901/src/com/netscape/admin/dirserv/panel
Modified Files:
MappingUtils.java
Log Message:
Resolves: 250137
Summary: Updated verison number to 1.1.0
Index: MappingUtils.java
===================================================================
RCS file:
/cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv/panel/MappingUtils.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- MappingUtils.java 18 Jul 2005 00:56:00 -0000 1.1.1.1
+++ MappingUtils.java 30 Jul 2007 17:16:41 -0000 1.2
@@ -493,9 +493,9 @@
/**
* Returns the suffix of the backend that is naming context and parent of the entry.
- * For example if we have 2 backends with suffixes 'o=fedora.com' and
'ou=people, o=fedora.com'
- * For 'cn=Michael, o=fedora.com' it will return 'o=fedora.com'
- * For 'cn=Michael, ou=people, o=fedora.com' it will return
'o=fedora.com' ('ou=people, o=fedora.com' is not a naming context)
+ * For example if we have 2 backends with suffixes 'o=example.com' and
'ou=people, o=example.com'
+ * For 'cn=Michael, o=example.com' it will return 'o=example.com'
+ * For 'cn=Michael, ou=people, o=example.com' it will return
'o=example.com' ('ou=people, o=example.com' is not a naming context)
* For 'cn=plugins, cn=config' (not in a regular backend) it will return
null
*/
public static String getTopSuffixForEntry(LDAPConnection ldc, String dn) {
@@ -522,9 +522,9 @@
/**
* This method gets the shortest suffix which is superior of the given dn from the
given suffix list .
- * For example if we have a list with 2 suffixes 'o=fedora.com' and
'ou=people, o=fedora.com'
- * For 'cn=Michael, o=fedora.com' it will return 'o=fedora.com'
- * For 'cn=Michael, ou=people, o=fedora.com' it will return
'o=fedora.com'
+ * For example if we have a list with 2 suffixes 'o=example.com' and
'ou=people, o=example.com'
+ * For 'cn=Michael, o=example.com' it will return 'o=example.com'
+ * For 'cn=Michael, ou=people, o=example.com' it will return
'o=example.com'
* For 'cn=plugins, cn=config' (not in the list of suffixes) it will return
null
*
* @param dn of the entry we want to handle
@@ -555,9 +555,9 @@
/**
* Returns the suffix of the backend to which this entry belongs.
- * For example if we have 2 backends with suffixes 'o=fedora.com' and
'ou=people, o=fedora.com'
- * For 'cn=Michael, o=fedora.com' it will return 'o=fedora.com'
- * For 'cn=Michael, ou=people, o=fedora.com' it will return 'ou=people,
o=fedora.com'
+ * For example if we have 2 backends with suffixes 'o=example.com' and
'ou=people, o=example.com'
+ * For 'cn=Michael, o=example.com' it will return 'o=example.com'
+ * For 'cn=Michael, ou=people, o=example.com' it will return 'ou=people,
o=example.com'
* For 'cn=plugins, cn=config' (not in a regular backend) it will return
null
*/