concept JaasSecurityDomain in category jboss

This is an excerpt from Manning's book JBoss in Action: Configuring the JBoss Application Server.
Unfortunately, you can’t specify an SSL-aware security domain in the login-config. xml file as we did for non-SSL security domains in section 4.1.4. To enable an SSL-aware security domain, you must also define an MBean instance of JaasSecurityDomain that points to a truststore. Figure 4.9 shows you the relationship between the JassSecurity-Domain MBean and the security domain defined in the login-config.xml file.
As we discussed in chapter 4, to create an SSL-enabled security domain, you must define a JaasSecurityDomain MBean. Create a file in the deploy directory that ends in -service.xml (for example, mysecuritydomain-service.xml). Listing 6.7 shows you what the contents of this file should look like.