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: 924262 $
Author:
Apache Directory Project

Constructor Summary
LdapJndiProperties()
           
 
Method Summary
 org.apache.directory.shared.ldap.constants.AuthenticationLevel getAuthenticationLevel()
           
static org.apache.directory.shared.ldap.constants.AuthenticationLevel getAuthenticationLevel(java.util.Hashtable env)
           
 org.apache.directory.shared.ldap.name.DN getBindDn()
           
 byte[] getCredentials()
           
static LdapJndiProperties getLdapJndiProperties(java.util.Hashtable env)
           
 org.apache.directory.shared.ldap.name.DN getProviderDn()
           
 java.lang.String getSaslAuthId()
           
 java.lang.String getSaslMechanism()
           
 
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 org.apache.directory.shared.ldap.constants.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 org.apache.directory.shared.ldap.name.DN getBindDn()

getProviderDn

public org.apache.directory.shared.ldap.name.DN getProviderDn()

getSaslAuthId

public java.lang.String getSaslAuthId()

getAuthenticationLevel

public org.apache.directory.shared.ldap.constants.AuthenticationLevel getAuthenticationLevel()

getSaslMechanism

public java.lang.String getSaslMechanism()

getCredentials

public byte[] getCredentials()


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.