Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.identity.ldap.helper
Class LDAPTools

    java.lang.Object
      org.jboss.portal.identity.ldap.helper.LDAPTools

    public class LDAPTools

extends java.lang.Object

Helper class for ldap operation

Version:
  $Revision: 1.1 $
Author:
  Boleslaw Dawidowicz

Constructor Summary
`LDAPTools()`

Method Summary
`static java.lang.String` | `encodeRfc2253Name(java.lang.String name)` Simple encoding to make a name rfc 2253 compiliant.
`static java.lang.String` | `stripDnToName(java.lang.String dn)` Process dn and retrieves a part from it: uid=xxx,dc=example,dc=org - retrieves xxx

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LDAPTools

    public LDAPTools()

Method Detail

### stripDnToName

    public static java.lang.String stripDnToName(java.lang.String dn)

  Process dn and retrieves a part from it: uid=xxx,dc=example,dc=org - retrieves xxx

  Parameters:
    `dn` -
  Returns:

### encodeRfc2253Name

    public static java.lang.String encodeRfc2253Name(java.lang.String name)

  Simple encoding to make a name rfc 2253 compiliant. For now it just escapes the special chars listed in rfc with backslash.

  Parameters:
    `name` -
  Returns:

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD