Package org.jboss.on.common.jbossas

Examples of org.jboss.on.common.jbossas.JmxInvokerServiceConfiguration


    @Test
    public void testEap4SecurityEnabled() throws Exception {
        ClassLoader classLoader = this.getClass().getClassLoader();
        InputStream inputStream = classLoader.getResourceAsStream(EAP4_SECURITY_ENABLED_RESOURCE_PATH);
        JmxInvokerServiceConfiguration config = new JmxInvokerServiceConfiguration(inputStream);
        assert "jmx-console".equals(config.getSecurityDomain());
    }
View Full Code Here


    @Test
    public void testEap4SecurityDisabled() throws Exception {
        ClassLoader classLoader = this.getClass().getClassLoader();
        InputStream inputStream = classLoader.getResourceAsStream(EAP4_SECURITY_DISABLED_RESOURCE_PATH);
        JmxInvokerServiceConfiguration config = new JmxInvokerServiceConfiguration(inputStream);
        assert config.getSecurityDomain() == null : "Security domain = '" + config.getSecurityDomain() + "'";       
    }
View Full Code Here

    @Test
    public void testEap5SecurityEnabled() throws Exception {
        ClassLoader classLoader = this.getClass().getClassLoader();
        InputStream inputStream = classLoader.getResourceAsStream(EAP5_SECURITY_ENABLED_RESOURCE_PATH);
        JmxInvokerServiceConfiguration config = new JmxInvokerServiceConfiguration(inputStream);
        assert "jmx-console".equals(config.getSecurityDomain());
    }
View Full Code Here

    @Test
    public void testEap5SecurityDisabled() throws Exception {
        ClassLoader classLoader = this.getClass().getClassLoader();
        InputStream inputStream = classLoader.getResourceAsStream(EAP5_SECURITY_DISABLED_RESOURCE_PATH);
        JmxInvokerServiceConfiguration config = new JmxInvokerServiceConfiguration(inputStream);
        assert config.getSecurityDomain() == null : "Security domain = '" + config.getSecurityDomain() + "'";       
    }
View Full Code Here

TOP

Related Classes of org.jboss.on.common.jbossas.JmxInvokerServiceConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.