Package org.jboss.soa.esb.services.security

Examples of org.jboss.soa.esb.services.security.SecurityConfig$Builder


    }

    @Test
    public void pushAndPopWithNullSecurityConfigAS5()
    {
        final SecurityConfig securityConfig = getSecurityConfig();
        final SecurityContext context = getSecurityContext();

        propagator.pushSecurityContext(context, null, null, as5Operations);

        final org.jboss.security.SecurityContext securityContext = SecurityContextAssociation.getSecurityContext() ;
View Full Code Here


        configTree.setAttribute(ListenerTagNames.MEP_ATTRIBUTE_TAG, ListenerTagNames.MEP_ONE_WAY) ;
        final ConfigTree securityConfigTree = addSecurityConfig(configTree, "adminRole", null, DOMAIN, null, timeout);
        addAction(configTree, MockSecuredActionProcessor.class.getName(), "process", null, null) ;

        final ActionProcessingPipeline pipeline = new ActionProcessingPipeline(configTree) ;
        final SecurityConfig securityConfig = SecurityConfigUtil.createSecurityConfig(securityConfigTree);

        final long contextTimeout = pipeline.getSecurityContextTimeout(securityConfig);

        assertEquals("Timeout should be equals to the one in securty element(jboss-esb.xml) and not the global timeout(jbossesb-properties.xml",
                timeout, contextTimeout);
View Full Code Here

        final ConfigTree securityConfigTree = addSecurityConfig(configTree, "adminRole", null, DOMAIN, null);
        addAction(configTree, MockSecuredActionProcessor.class.getName(), "process", null, null) ;

        final ActionProcessingPipeline pipeline = new ActionProcessingPipeline(configTree) ;

        final SecurityConfig securityConfig = SecurityConfigUtil.createSecurityConfig(securityConfigTree);
        final long contextTimeout = pipeline.getSecurityContextTimeout(securityConfig);

        assertEquals(30000, contextTimeout);

        pipeline.destroy() ;
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.services.security.SecurityConfig$Builder

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.