1 Reply Latest reply on May 12, 2013 5:24 AM by Stephen Coy

    When I tried to configure my ldap for ear application am getting the below error in server.log:

    pappu radhakrishan Newbie

      18:21:22,740 INFO  [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011907: Register module: Module "deployment.SBICardsAdmin.ear.SBICardsAdmin-war.war:main" from Service Module Loader

      18:21:23,027 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "SBICardsAdmin.ear"

      18:21:23,028 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "WebApplication1.war"

      18:21:23,029 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies: service jboss.security.security-domain.SBICardsAdmin (missing) dependents: [service jboss.web.deployment.default-host./SBICardsAdmin-war.realm]

       

      domain.xml

       

      <subsystem xmlns="urn:jboss:domain:security:1.0">
             
      <security-domains>
             
      <security-domain name="SBICardsAdmin" cache-type="default">
             
      <authentication>
                 
      <login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required">
                 
      <module-option name="java.naming.factory.initial" value="com.ge.ggi.GGIServerAuthModule"/>
                 
      <module-option name="java.naming.provider.url" value="ldap://localhost:389"/>
                 
      <module-option name="SECURITY_PRINCIPAL" value="CN=kamaraj,OU=SBI_ENCASH_TEST,OU=sbicard-test,OU=com,DC=ggi,DC=localldap" />
                 
      <module-option name="SECURITY_CREDENTIALS" value="XXXX"/>
                 
      <module-option name="LDAP_TEST_USER" value="kamaraj"/>
                 
      <module-option name="GGIADAM_LDAP_GROUP_NAME" value="SBI-GL-NBSM-GGI-DAM"/>
                 
      <module-option name="PROVIDER_URL" value="true"/>
                 
      <module-option name="FILTER" value="memberOf"/>
                 
      <module-option name="LDAP_GROUP_FILTER" value="member"/>
                 
      <module-option name="LDAP_GROUP_SEARCH_CRITERIA" value="LDAPGROUP"/>
                 
      <module-option name="LDAP_PRINCIPAL" value="CN=admin ggilldap,CN=Users,DC=ggi,DC=localldap"/>
                 
      <module-option name="SECURITY_AUTHENTICATION" value="simple"/>
                 
      <module-option name="LDAP_PROPERTY" value="CN"/>
                 
      <module-option name="INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.ldap.LdapCtxFactory"/>
                 
      <module-option name="GGIADMIN_LDAP_GROUP_NAME" value="SBI-GL-NBSM-GGI-Admin"/>
                 
      </login-module>
             
      </authentication>
             
      </security-domain>
             
      </security-domains>
      </subsystem>

      web.xml

      <login-config> <auth-method>FORM</auth-method> <realm-name>SBICardsAdmin</realm-name> </login-config>  <security-role> <description>Security Role for login</description> <role-name>SBI-GL-NBSM-GGI-Admin</role-name> </security-role>  

      jboss-web.xml

      <security-domain>java:/jaas/SBICardsAdmin</security-domain>