public final class JndiUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Control |
fromJndiControl(LdapApiService codec,
Control jndiControl) |
static Control[] |
fromJndiControls(LdapApiService codec,
Control... jndiControls) |
static Dn |
fromName(Name name)
Convert a
Name to a Dn |
static Control |
toJndiControl(LdapApiService codec,
Control control) |
static Control[] |
toJndiControls(LdapApiService codec,
Control... controls) |
static Name |
toName(Dn dn)
Convert a Dn to a
Name |
static void |
wrap(Throwable t) |
public static Control toJndiControl(LdapApiService codec, Control control) throws EncoderException
EncoderException
public static Control[] toJndiControls(LdapApiService codec, Control... controls) throws EncoderException
EncoderException
public static Control fromJndiControl(LdapApiService codec, Control jndiControl) throws DecoderException
DecoderException
public static Control[] fromJndiControls(LdapApiService codec, Control... jndiControls) throws DecoderException
DecoderException
public static void wrap(Throwable t) throws NamingException
NamingException
public static Name toName(Dn dn)
Name
name
- The Dn to convertCopyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.