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

WAR deployment fails on missing security domain dependency

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 8.2.0.Final
    • Fix Version/s: 8.2.0.Final
    • Component/s: Security, Web (Undertow)
    • Labels:
      None
    • Environment:

      Standalone form-based authentication WAR

    • Affects:
      Compatibility/Configuration

      Description

      Moving WARs using form based authentication from WildFly 8.1 Final to 8.2 Final fails due to a missing security domain dependency.

      Log

      service jboss.security.security-domain.java:/jaas/haa-portal (missing) dependents: 
      [service jboss.deployment.unit."haa-security-manager.war".component.SecurityManagerRepositorySessionBean.CREATE, 
      service jboss.deployment.unit."haa-security-manager.war".component.UserPrefsRepository.CREATE]
      

      jboss-web.xml

      <jboss-web>
      	<security-domain>java:/jaas/haa-portal</security-domain>
      </jboss-web>
      

      standalone.xml

             <subsystem xmlns="urn:jboss:domain:security:1.2">
                  <security-domains>
                      ...
                      <security-domain name="haa-portal">
                          <authentication>
                              <login-module code="Database" flag="required">
                              ...
                              </login-module>
                          </authentication>
                      </security-domain>
                  </security-domains>
              </subsystem>
      

      The datasource is deployed and connected.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dlofthouse Darran Lofthouse
                Reporter:
                lhellgren Lars Hellgren
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: