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

John John (JIRA) issues at jboss.org
Fri Dec 25 20:28:00 EST 2015


    [ https://issues.jboss.org/browse/WFLY-4116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144145#comment-13144145 ] 

John John commented on WFLY-4116:
---------------------------------

Is this pasted anywhere on upgrading from 8.1 to 8.2 that the security-domain has changed in how it's defined in the jboss-web?

I too had 8.1 configs which had full path, but as you mentioned 8.2 seems to have shortened it.

Regards
John

> 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.4.11#64026)


More information about the jboss-jira mailing list