Chapter 9. Securing JBoss Enterprise Application Platform
9.1. About the Security Subsystem
If deep copy subject mode is disabled (the default), copying a security data structure makes a reference to the original, rather than copying the entire data structure. This behavior is more efficient, but is prone to data corruption if multiple threads with the same identity clear the subject by means of a flush or logout operation.
You can set system-wide security properties, which are applied to
other. The Management API, Management Console, and Management CLI use the
othersecurity domain. You can create as many security domains as you need to accomodate the needs of your applications.