1 Reply Latest reply on May 4, 2018 2:36 AM by mchoma

    Access ApplicationDomain programmatically

    marcusdidiusfalco

      Hello,

       

      JBoss EAP 7.2

       

      I have a Primefaces single page application. A login form is on one tab. After login the other tabs are activated.

      So I think I cannot use the standard form based login.

      Since this is a simple Monitoring application with few users, we want to use application-user.properties for authentication.

      I have no idea how to make this work, after searching quiet a bit.

      Can anyone point me to an example?

       

      On a probably separate issue:

      with a jboss-web.xml

      <?xml version="1.0" encoding="UTF-8"?>

      <jboss-web>

      <security-domain>ApplicationDomain</security-domain>

      </jboss-web>

      my application does not deploy

       

      WFLYCTL0412: Erforderliche Dienste, die nicht installiert sind:" => ["jboss.security.security-domain.ApplicationDomain"],

      (trying to translate: Required Services which are not installed ..)

       

      Why???

      from standalone.xml

      <security-domains>

                      <security-domain name="ApplicationDomain" default-realm="ApplicationRealm" permission-mapper="default-permission-mapper">

       

      Does anyone know a good introduction to web security on EAP 7.2 (for dummies ...:-)