Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-513

JNDI implementation does not interact well with InitialLdapContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3
    • 0.3
    • JNDI
    • None

    Description

      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)
      ...

      Attachments

        Activity

          People

            mahrwald Valentin Mahrwald
            mahrwald Valentin Mahrwald
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: