[jboss-jira] [JBoss JIRA] (WFLY-4116) WAR deployment fails on missing security domain dependency

Lars Hellgren (JIRA) issues at jboss.org
Fri Nov 21 19:01:40 EST 2014


Lars Hellgren created WFLY-4116:
-----------------------------------

             Summary: WAR deployment fails on missing security domain dependency
                 Key: WFLY-4116
                 URL: https://issues.jboss.org/browse/WFLY-4116
             Project: WildFly
          Issue Type: Feature Request
          Components: Security, Web (JBoss Web), Web (Undertow)
    Affects Versions: 8.2.0.Final
         Environment: Standalone form-based authentication WAR
            Reporter: Lars Hellgren
            Assignee: Darran Lofthouse
             Fix For: 8.2.0.Final


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

*Log*
{noformat}
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]
{noformat}

*jboss-web.xml*
{code:xml}
<jboss-web>
	<security-domain>java:/jaas/haa-portal</security-domain>
</jboss-web>
{code}

*standalone.xml*
{code: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>
{code}
The datasource is deployed and connected.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list