| java.lang.Object org.jasig.portal.ldap.LdapServerImpl
LdapServerImpl | public class LdapServerImpl implements ILdapServer(Code) | | Default implementation of ILdapServer.
author: edalquist@unicon.net author: andrew.petro@yale.edu version: $Revision: 35070 $ $Date: 2004-11-17 12:09:46 -0700 (Wed, 17 Nov 2004) $ |
Constructor Summary | |
public | LdapServerImpl(String name, String url, String baseDn, String uidAttribute, String managerDn, String managerPw, String initialContextFactory) Instantiate an LdapServerImpl using somewhat abtstracted configuration
over that present in the more detailed constructor.
You communicate a desire to use SSL to this method by using an
ldaps//... | public | LdapServerImpl(String name, String host, String port, String baseDn, String uidAttribute, String managerDn, String managerPw, boolean useSsl, String initialContextFactory) Instantiate an LdapServerImpl with the given low-level configuration.
Using this constructor has the advantage of doing some argument checking
on the port number.
Parameters: name - mnemonic name for this Ldap server instance Parameters: host - host of the LDAP server Parameters: port - port number. |
LdapServerImpl | public LdapServerImpl(String name, String url, String baseDn, String uidAttribute, String managerDn, String managerPw, String initialContextFactory)(Code) | | Instantiate an LdapServerImpl using somewhat abtstracted configuration
over that present in the more detailed constructor.
You communicate a desire to use SSL to this method by using an
ldaps//... URL rather than an ldap//... url.
Parameters: name - mnemonic name for this Ldap server instance Parameters: url - URL of LDAP server Parameters: baseDn - Parameters: uidAttribute - attribute against which to match for uid queries Parameters: managerDn - principal for LDAP authentication, null implies noauthentication Parameters: managerPw - password for LDAP authentication, null implies noauthentication Parameters: initialContextFactory - the name of the class to use to instantiatethe context. |
LdapServerImpl | public LdapServerImpl(String name, String host, String port, String baseDn, String uidAttribute, String managerDn, String managerPw, boolean useSsl, String initialContextFactory)(Code) | | Instantiate an LdapServerImpl with the given low-level configuration.
Using this constructor has the advantage of doing some argument checking
on the port number.
Parameters: name - mnemonic name for this Ldap server instance Parameters: host - host of the LDAP server Parameters: port - port number. null implies default of 389 Parameters: baseDn - Parameters: uidAttribute - attribute against which to match for uid queries Parameters: managerDn - principal for LDAP authentication, null implies noauthentication Parameters: managerPw - password for LDAP authentication Parameters: useSsl - true if we should use SSL, false otherwise. Parameters: initialContextFactory - name of the class to use for building init context,null defaults to com.sun.jndi.ldap.LdapCtxFactory throws: IllegalArgumentException - when arguments do not specify valid server |
|
|