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

jaikiran pai (JIRA) issues at jboss.org
Sat Nov 22 00:23:39 EST 2014


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

jaikiran pai commented on WFLY-4116:
------------------------------------

The security-domain you have defined in your jboss-web.xml is incorrect. It should just be the name of the security domain. Change it to:

{code}
<jboss-web>
  <security-domain>haa-portal</security-domain>
</jboss-web>
{code}


> 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