[jboss-jira] [JBoss JIRA] (WFLY-2878) LdapContext cannot be used
dfisher (JIRA)
issues at jboss.org
Fri Feb 7 10:44:29 EST 2014
dfisher created WFLY-2878:
-----------------------------
Summary: LdapContext cannot be used
Key: WFLY-2878
URL: https://issues.jboss.org/browse/WFLY-2878
Project: WildFly
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Naming
Affects Versions: 8.0.0.CR1
Reporter: dfisher
Assignee: Eduardo Martins
Wildfly installs a custom InitialContextFactoryBuilder which produces instances of {{org.jboss.as.naming.InitialContext}}.
This InitialContext class extends {{javax.naming.directory.InitialDirContext}}.
When code is deployed that invokes {{new InitialLdapContext(..)}} an error is produced:
{code}
javax.naming.NotContextException: Not an instance of LdapContext
{code}
Resolving this may be as simple as having {{org.jboss.as.naming.InitialContext}} extend {{javax.naming.ldap.InitialLdapContext}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list