harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu" <wuyue...@gmail.com>
Subject Re: [jira] Commented: (HARMONY-3516) [classlib][jndi]missing default impl of InitialContextFactory for ldap
Date Thu, 02 Aug 2007 05:42:03 GMT
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) <jira@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

Mime
View raw message