security/subsystem/src/main/java/org/jboss/as/security/plugins/JNDIBasedSecurityManagement.java
private AuthorizationManager createAuthorizationManager(String securityDomain) throws Exception {
        int i = authorizationManagerClassName.lastIndexOf(":");
        if (i == -1)
            throw SecurityLogger.ROOT_LOGGER.missingModuleName("authorization manager class");
        String moduleSpec = authorizationManagerClassName.substring(0, i);
        String className = authorizationManagerClassName.substring(i + 1);
        Class<?> clazz = SecurityActions.getModuleClassLoader(loader, moduleSpec).loadClass(className);
        Constructor<?> ctr = clazz.getConstructor(new Class[] { String.class });
        return (AuthorizationManager) ctr.newInstance(new Object[] { securityDomain });
    }
private AuthorizationManager createAuthorizationManager(String securityDomain) throws Exception {
        int i = authorizationManagerClassName.lastIndexOf(":");
        if (i == -1)
            throw SecurityLogger.ROOT_LOGGER.missingModuleName("authorization manager class");
        String moduleSpec = authorizationManagerClassName.substring(0, i);
        String className = authorizationManagerClassName.substring(i + 1);
        Class<?> clazz = SecurityActions.getModuleClassLoader(loader, moduleSpec).loadClass(className);
        Constructor<?> ctr = clazz.getConstructor(new Class[] { String.class });
        return (AuthorizationManager) ctr.newInstance(new Object[] { securityDomain });
    }
private AuthorizationManager createAuthorizationManager ( String securityDomain ) throws Exception { int i = authorizationManagerClassName . lastIndexOf ( ":" ) ; if ( i == - 1 ) throw SecurityLogger . ROOT_LOGGER . missingModuleName ( "authorization manager class" ) ; String moduleSpec = authorizationManagerClassName . substring ( 0 , i ) ; String className = authorizationManagerClassName . substring ( i + 1 ) ; Class < ? > clazz = SecurityActions . getModuleClassLoader ( loader , moduleSpec ) . loadClass ( className ) ; Constructor < ? > ctr = clazz . getConstructor ( new Class [ ] { String . class } ) ; return ( AuthorizationManager ) ctr . newInstance ( new Object [ ] { securityDomain } ) ; }
Creates an {@code AuthorizationManager}

@param securityDomain name of the security domain
@return an instance of {@code AuthorizationManager}
@throws Exception if creation fails
Creates an { @code AuthorizationManager }