Configure for medium security
18.1. Medium Security Usecase A user does not want to encrypt the keystore password but wants to externalize it (outside of server.xml ) or wants to make use of a predefined JaasSecurityDomain. Procedure 18.2. Predefined JaasSecurityDomain Update jboss-service.xml to add a connector Navigate to $JBOSS_HOME/server/ $PROFILE /deploy/jbossweb.sar/META-INF, and add the following code block to the jboss-service.xml file. resource:localhost.keystore unit-tests-server Add a tag to the Tomcat service Navigate to $JBOSS_HOME/server/$PROFILE/deploy/jbossweb.sar . Open server.xml and append the following element toward the end of the file: jboss.security:service=SecurityDomain Define the JaasSecurityDomain MBean in a *-service.xml file security-service.xml in the deploy directory, for example. resource:localhost.keystore unit-tests-server