You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Tony Wu <wu...@gmail.com> on 2007/08/02 07:42:03 UTC
Re: [jira] Commented: (HARMONY-3516) [classlib][jndi]missing default impl of InitialContextFactory for ldap
Hi,
Sorry for my delay, I raise this JIRA to record that harmony has no
concrete implementation of InitialContextFactory.
For instance, the code making use of jndi api in jdk may look like below,
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, url);
env.put(Context.SECURITY_PRINCIPAL, username);
env.put(Context.SECURITY_CREDENTIALS, password);
env.put(Context.SECURITY_AUTHENTICATION, authType);
InitialDirContext ctx = new InitialDirContext(env);
RI has its concrete implementation(com.sun.jndi.ldap.LdapCtxFactory)
but harmony does not.
I want to discuss with you whether we need to implement this non-public class.
On 8/1/07, Tim Ellison (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/HARMONY-3516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516958 ]
>
> Tim Ellison commented on HARMONY-3516:
> --------------------------------------
>
> Any more info Tony or can this be closed?
>
> > [classlib][jndi]missing default impl of InitialContextFactory for ldap
> > ----------------------------------------------------------------------
> >
> > Key: HARMONY-3516
> > URL: https://issues.apache.org/jira/browse/HARMONY-3516
> > Project: Harmony
> > Issue Type: Bug
> > Components: Classlib
> > Reporter: Tony Wu
> >
>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
--
Tony Wu
China Software Development Lab, IBM