com.filenet.wcm.toolkit.server.util
Class WcmDistinguishedNameString
- java.lang.Object
com.filenet.wcm.toolkit.server.util.WcmDistinguishedNameString
- public class WcmDistinguishedNameString
- extends java.lang.Object
Constructor Summary
| Constructor and Description |
|---|
WcmDistinguishedNameString()
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
format(java.lang.String distinguishedName)
Formats a SunONE formated distinguished name to have an extra space after each commas.
|
|
getCN(java.lang.String distinguishedName)
Returns cn= part of the name
|
|
getO(java.lang.String distinguishedName)
returns o= part of the name
|
|
getOU(java.lang.String distinguishedName)
returns ou= part of the name
|
|
getRealmName(java.lang.String realmId)
Returns the realm name given the realm id
|
|
getUID(java.lang.String distinguishedName)
returns o= part of the name
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
WcmDistinguishedNameString
- public WcmDistinguishedNameString( )
Method Detail
format
- public static java.lang.String format( java.lang.String distinguishedName)
Formats a SunONE formated distinguished name to have an extra space after each commas.
Parameters:
distinguishedName - The distinguished name string Returns:
String The distinguished name string with the new format.
getCN
- public static java.lang.String getCN( java.lang.String distinguishedName)
Returns cn= part of the name
Parameters:
distinguishedName - The distinguished name string Returns:
cn= part of the name
getOU
- public static java.lang.String getOU( java.lang.String distinguishedName)
returns ou= part of the name
Parameters:
distinguishedName - The distinguished name string Returns:
ou= part of the name
getO
- public static java.lang.String getO( java.lang.String distinguishedName)
returns o= part of the name
Parameters:
distinguishedName - The distinguished name string Returns:
ou= part of the name
getUID
- public static java.lang.String getUID( java.lang.String distinguishedName)
returns o= part of the name
Parameters:
distinguishedName - The distinguished name string Returns:
ou= part of the name
getRealmName
- public static java.lang.String getRealmName( java.lang.String realmId)
- throws java.lang.Exception
Returns the realm name given the realm id
Returns:
String The realm name.
Throws:
java.lang.Exception