[jboss-jira] [JBoss JIRA] (WFLY-7843) Initial context factory is not able to be set in Elytron dir-context
Jan Kalina (JIRA)
issues at jboss.org
Wed Feb 1 11:40:00 EST 2017
[ https://issues.jboss.org/browse/WFLY-7843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13356856#comment-13356856 ]
Jan Kalina commented on WFLY-7843:
----------------------------------
It is possible to override this using generic options exposed as part of WFLY-7720:
{code:xml}
<dir-context name="DirContext" ...>
<properties>
<property name="java.naming.factory.initial" value="com.sun.jndi.ldap.LdapCtxFactory"/>
</properties>
</dir-context>
{code}
> Initial context factory is not able to be set in Elytron dir-context
> --------------------------------------------------------------------
>
> Key: WFLY-7843
> URL: https://issues.jboss.org/browse/WFLY-7843
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Ondrej Lukas
> Assignee: Jan Kalina
> Priority: Critical
>
> Elytron subsystem does not allow to configure custom Initial context factory for dir-context.
> Elytron {{org.wildfly.security.auth.realm.ldapSimpleDirContextFactoryBuilder}} includes setter for field {{initialContextFactory}}, but integration for Elytron subsystem is missing. This means that default value {{com.sun.jndi.ldap.LdapCtxFactory}} is always used by Application server.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list