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

IllegalStateException in ApplicationSecurityDomainService#initialSecurityHandler when loginConfig is null

    XMLWordPrintable

    Details

      Description

      The following IllegalStateException occurs when attempting to deploy an application that doesn't specify the login-config:

       java.lang.IllegalStateException: WFLYUT0084: No authentication mechanisms have been selected.
              at org.wildfly.extension.undertow.ApplicationSecurityDomainDefinition$ApplicationSecurityDomainService.initialSecurityHandler(ApplicationSecurityDomainDefinition.java:345)
              at org.wildfly.extension.undertow.ApplicationSecurityDomainDefinition$ApplicationSecurityDomainService.lambda$applyElytronSecurity$0(ApplicationSecurityDomainDefinition.java:295)
              at io.undertow.servlet.core.DeploymentManagerImpl.setupSecurityHandlers(DeploymentManagerImpl.java:400)
              at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:204)
      

        Attachments

          Activity

            People

            Assignee:
            fjuma Farah Juma
            Reporter:
            fjuma Farah Juma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: