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

WAR deployment fails on missing security domain dependency

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • 8.2.0.Final
    • 8.2.0.Final
    • Security, Web (Undertow)
    • None
    • 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.

      Attachments

        Activity

          People

            darran.lofthouse@redhat.com Darran Lofthouse
            lhellgren Lars Hellgren (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: