Server User Guide

Server User Guide

Configuring Your Application Server for Java Standard Edition 17 support in RedHat JBoss EAP 8.x

Configuring Your Application Server for Java Standard Edition 17 support in RedHat JBoss EAP 8.x

Set the following security configuration changes for Java Standard Edition 17 support in RedHat JBoss EAP 8.x:
  1. Open the
    standalone-full.xml
    using a text editor.
  2. Find the
    <security-domain>
    tag.
  3. Add the following lines directly under the
    <security-domain>
    tag.
    <security-domain name="ActiveVOS" default-realm="ActiveVOSSecurityRealm" permission-mapper="default-permission-mapper"> <realm name="ActiveVOSSecurityRealm" role-decoder="groups-to-roles"/> <realm name="local"/> </security-domain>
  4. Add the following
    ActiveVOSSecurityRealm
    property to the
    <security-realms>
    tag.
    <properties-realm name="ActiveVOSSecurityRealm"> <users-properties path="applicationUsers.properties" relative-to="jboss.server.config.dir"/> <groups-properties path="applicationRoles.properties" relative-to="jboss.server.config.dir"/> </properties-realm>
  5. Add the following HTTP authentication configuration to the
    http-authentication-factory
    tag.
    <http-authentication-factory name="activevos-http-authentication" security-domain="ActiveVOS" http-server-mechanism-factory="global"> <mechanism-configuration> <mechanism mechanism-name="BASIC"> <mechanism-realm realm-name="ActiveVOSSecurityRealm"/> </mechanism> <mechanism mechanism-name="FORM"> <mechanism-realm realm-name="ActiveVOSSecurityRealm"/> </mechanism> <mechanism mechanism-name="CLIENT_CERT"> <mechanism-realm realm-name="ActiveVOSSecurityRealm"/> </mechanism> </mechanism-configuration> </http-authentication-factory>
  6. Change the value of
    default-security-domain
    to
    ActiveVOS
    in the
    urn:jboss:domain:undertow:12.0
    subsystem tag, as shown in the following example:
    <subsystem xmlns="urn:jboss:domain:undertow:12.0" default-server="default-server" default-virtual-host="default-host" default-servlet-container="default" default-security-domain="ActiveVOS" statistics-enabled="${wildfly.undertow.statistics-enabled:${wildfly.statistics-enabled:false}}">
  7. Add the
    applicationUsers.properties
    and
    applicationRoles.properties
    files to the
    <jboss-server-path>\standalone\configuration
    directory.

0 COMMENTS

We’d like to hear from you!