Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5493

Not able to create two LDAP login module with same code in Wildfly8.2.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Rejected
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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" =>

      {"process-state" => "reload-required"}

      }

      Please throw some light here.

      Regards,
      J Prasanna

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jprasanna J Prasanna Venkatesan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: