[jboss-jira] [JBoss JIRA] (WFLY-5493) Not able to create two LDAP login module with same code in Wildfly8.2.0

J Prasanna Venkatesan (JIRA) issues at jboss.org
Thu Oct 8 08:01:05 EDT 2015


J Prasanna Venkatesan created WFLY-5493:
-------------------------------------------

             Summary: 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
            Assignee: Jason Greene
            Priority: Blocker


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