concept JaasSecurityDomain in category jboss

appears as: JaasSecurityDomain, JaasSecurityDomain
JBoss in Action: Configuring the JBoss Application Server

This is an excerpt from Manning's book JBoss in Action: Configuring the JBoss Application Server.

Figure 4.9. The relationship between the JaasSecurityDomain MBean, the truststore, the security domain, and the security datastore

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.

Figure 4.9. The relationship between the JaasSecurityDomain MBean, the truststore, the security domain, and the security datastore

6.5.3. Specifying the JaasSecurityDomain MBean

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.