[jboss-jira] [JBoss JIRA] (WFLY-4151) Spring Security with Active Directory Provider throwing Wrapped NamingException

Bob Paulin (JIRA) issues at jboss.org
Wed Dec 3 16:37:39 EST 2014


     [ https://issues.jboss.org/browse/WFLY-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bob Paulin closed WFLY-4151.
----------------------------


> Spring Security with Active Directory Provider throwing Wrapped NamingException
> -------------------------------------------------------------------------------
>
>                 Key: WFLY-4151
>                 URL: https://issues.jboss.org/browse/WFLY-4151
>             Project: WildFly
>          Issue Type: Bug
>          Components: Naming
>    Affects Versions: 8.2.0.Final
>         Environment: Multiple
>            Reporter: Bob Paulin
>            Assignee: David Lloyd
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list