Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4151

Spring Security with Active Directory Provider throwing Wrapped NamingException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 8.2.0.Final
    • Naming
    • None

    Description

      There is a bug logged against Spring Security for this issue as well https://jira.spring.io/browse/SEC-2754

      Providing the ActiveDirectoryLdapAuthenticationProvider with incorrect credentials causes internal server error when running on JBoss.

      This is because ActiveDirectoryLdapAuthenticationProvider only considers top-level LdapExceptions, whereas JBoss seems to wrap exceptions thrown by InitialLdapContext into a top-level NamingException.

      The issue does provide a suggested patch to spring security however I don't understand why Wildfly is wrapping the LdapExceptions when it did not appear to do this as late as JBoss EAP 6.2.0.GA

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              bpaulin Bob Paulin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: