Details
-
Bug
-
Resolution: Won't Do
-
Blocker
-
None
-
None
-
None
Description
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" =>
}
Please throw some light here.
Regards,
J Prasanna