public boolean isSecurityDomain ( String securityDomainName ) throws Exception { Address addr = Address . root ( ) . add ( SUBSYSTEM , SUBSYSTEM_SECURITY ) ; String haystack = SECURITY_DOMAIN ; return null != findNodeInList ( addr , haystack , securityDomainName ) ; }
Checks to see if there is already a security domain with the given name .