org.apache.directory.server.core.jndi
Class LdapJndiProperties

java.lang.Object
  extended by org.apache.directory.server.core.jndi.LdapJndiProperties

public class LdapJndiProperties
extends java.lang.Object

A wrapper around a JNDI environment which checks for correct LDAP specific environment settings.

Version:
$Rev: 434579 $
Author:
Apache Directory Project

Constructor Summary
LdapJndiProperties()
           
 
Method Summary
 AuthenticationLevel getAuthenticationLevel()
           
static AuthenticationLevel getAuthenticationLevel(java.util.Hashtable env)
           
 java.util.List getAuthenticationMechanisms()
           
 LdapDN getBindDn()
           
 byte[] getCredentials()
           
static LdapJndiProperties getLdapJndiProperties(java.util.Hashtable env)
           
 LdapDN getProviderDn()
           
 java.lang.String getSaslAuthId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapJndiProperties

public LdapJndiProperties()
Method Detail

getAuthenticationLevel

public static AuthenticationLevel getAuthenticationLevel(java.util.Hashtable env)
                                                  throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getLdapJndiProperties

public static LdapJndiProperties getLdapJndiProperties(java.util.Hashtable env)
                                                throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getBindDn

public LdapDN getBindDn()

getProviderDn

public LdapDN getProviderDn()

getSaslAuthId

public java.lang.String getSaslAuthId()

getAuthenticationLevel

public AuthenticationLevel getAuthenticationLevel()

getAuthenticationMechanisms

public java.util.List getAuthenticationMechanisms()

getCredentials

public byte[] getCredentials()