Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-305

Connect to a SSL secured LDAP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • Realms
    • None
    • Windows 7, Tomcat 6.x

    Description

      Configuration for connecting the Shiro framework with a SSL secured LDAP (LDAPv2 & LDAPv3 on SSLv3 port) fails.

      Parameters for LDAP in the shiro.ini file:
      [main]
      ...
      ldapRealm.contextFactory.environment[java.naming.security.protocol] = ssl
      ldapRealm.contextFactory.environment[com.sun.jndi.ldap.connect.pool.protocol] = plain ssl
      ldapRealm.contextFactory.environment[com.sun.jndi.ldap.connect.pool] = true

      These entries lead to following error message:

      org.apache.shiro.config.ConfigurationException: Map property value [ssl] contained key-value pair token [ssl] that does not properly split to a single key and pair. This must be the case for all map entries.

      Attachments

        Activity

          People

            lhazlewood Les Hazlewood
            pdiefent Peter Diefenthäler
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: