[jboss-jira] [JBoss JIRA] (WFLY-5493) Not able to create two LDAP login module with same code in Wildfly8.2.0
Tomaz Cerar (JIRA)
issues at jboss.org
Mon Oct 19 07:58:00 EDT 2015
[ https://issues.jboss.org/browse/WFLY-5493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar closed WFLY-5493.
-----------------------------
Assignee: (was: Jason Greene)
Resolution: Rejected
This is forum question not blocker bug report.
> Not able to create two LDAP login module with same code in Wildfly8.2.0
> -----------------------------------------------------------------------
>
> Key: WFLY-5493
> URL: https://issues.jboss.org/browse/WFLY-5493
> Project: WildFly
> Issue Type: Bug
> Reporter: J Prasanna Venkatesan
> Priority: Blocker
> Labels: code, login-module
>
> Hi Team
>
> I am using Wildfly8.2.0
>
> This is a JBOSS CLI Related stuff.
>
> I am not able to create two LDAP login module with same code say 'org.jboss.security.auth.spi.LdapExtLoginModule' using JBoss CLI
>
> *My command is* (this command tries to add 2 org.jboss.security.auth.spi.LdapExtLoginModule)
>
> /subsystem=security/security-domain=SourceForge/authentication=classic:write-attribute(name=login-modules, value=[ { "module-options" => { "searchScope" => "SUBTREE_SCOPE", "java.naming.factory.initial" => "com.sun.jndi.ldap.LdapCtxFactory", "java.naming.provider.url" => "ldap://11.1.1.1", "roleAttributeIsDN" => "true", "roleAttributeID" => "memberOf", "rolesCtxDN" => "DC=domain,DC=local", "roleFilter" => "(member={1})", "searchTimeLimit" => "5000", "java.naming.security.authentication" => "simple", "roleRecursion" => "1", "java.naming.referral" => "follow", "bindDN" => "cn=binduser,OU=Users,DC=domain,DC=local", "bindCredential" => "bindpasswd", "baseCtxDN" => "ou=Users,DC=domain,DC=local", "allowEmptyPasswords" => "false", "throwValidateError" => "true", "baseFilter" => "(uid={0})" }, "code" => "org.jboss.security.auth.spi.LdapExtLoginModule", "flag" => "sufficient" }, { "module-options" => { "searchScope" => "SUBTREE_SCOPE", "java.naming.factory.initial" => "com.sun.jndi.ldap.LdapCtxFactory", "java.naming.provider.url" => "ldap://ldapserver/", "roleAttributeIsDN" => "true", "roleAttributeID" => "memberOf", "rolesCtxDN" => "DC=domain,DC=local", "roleFilter" => "(member={1})", "searchTimeLimit" => "5000", "java.naming.security.authentication" => "simple", "roleRecursion" => "1", "java.naming.referral" => "follow", "bindDN" => "cn=binduser,OU=Users,DC=domain,DC=local", "bindCredential" => "bindpasswd", "baseCtxDN" => "ou=Users,DC=domain,DC=local", "allowEmptyPasswords" => "false", "throwValidateError" => "true", "baseFilter" => "(uid={0})" }, "code" => "org.jboss.security.auth.spi.LdapExtLoginModule", "flag" => "sufficient" } ])
> The output of the command is
> {
> "outcome" => "failed",
> "rolled-back" => true,
> "response-headers" => {"process-state" => "reload-required"}
> }
> Please throw some light here.
>
> Regards,
> J Prasanna
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list