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
 org.apache.directory.shared.ldap.aci.AuthenticationLevel getAuthenticationLevel()
           
static org.apache.directory.shared.ldap.aci.AuthenticationLevel getAuthenticationLevel(java.util.Hashtable env)
           
 java.util.List getAuthenticationMechanisms()
           
 org.apache.directory.shared.ldap.name.LdapDN getBindDn()
           
 byte[] getCredentials()
           
static LdapJndiProperties getLdapJndiProperties(java.util.Hashtable env)
           
 org.apache.directory.shared.ldap.name.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 org.apache.directory.shared.ldap.aci.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.LdapDN getBindDn()

getProviderDn

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

getSaslAuthId

public java.lang.String getSaslAuthId()

getAuthenticationLevel

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

getAuthenticationMechanisms

public java.util.List getAuthenticationMechanisms()

getCredentials

public byte[] getCredentials()


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