JNDI implementation does not interact well with InitialLdapContext
------------------------------------------------------------------

                 Key: ARIES-513
                 URL: https://issues.apache.org/jira/browse/ARIES-513
             Project: Aries
          Issue Type: Bug
          Components: JNDI
    Affects Versions: 0.3
            Reporter: Valentin Mahrwald
            Assignee: Valentin Mahrwald
             Fix For: 0.3


There appears to be no particular provision in the spec to make sure that 
proxied contexts returned from the OSGi InitialContextFactoryBuilder should be 
instances of LdapContext. This may likely be an omission.

Typical exception:

javax.naming.NotContextException: Expected an LdapContext object.
at 
javax.naming.ldap.InitialLdapContext.getDefaultInitLdapContext(InitialLdapContext.java:109)
at 
javax.naming.ldap.InitialLdapContext.setRequestControls(InitialLdapContext.java:132)
...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to