org.mule.module.cxf
Class HttpSecurityFilterFunctionalTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.tck.junit4.AbstractMuleContextTestCase
          extended by org.mule.tck.junit4.FunctionalTestCase
              extended by org.mule.tck.AbstractServiceAndFlowTestCase
                  extended by org.mule.module.cxf.HttpSecurityFilterFunctionalTestCase

public class HttpSecurityFilterFunctionalTestCase
extends AbstractServiceAndFlowTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractServiceAndFlowTestCase
AbstractServiceAndFlowTestCase.ConfigVariant
 
Field Summary
 DynamicPort dynamicPort1
           
 DynamicPort dynamicPort2
           
 
Fields inherited from class org.mule.tck.AbstractServiceAndFlowTestCase
configResources, variant
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, RECEIVE_TIMEOUT, TEST_MESSAGE
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
HttpSecurityFilterFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant, String configResources)
           
 
Method Summary
static Collection<Object[]> parameters()
           
 void testAuthenticationAuthorisedGet()
           
 void testAuthenticationAuthorisedGetHttps()
           
 void testAuthenticationAuthorisedPost()
           
 void testAuthenticationAuthorisedPostHttps()
           
 void testAuthenticationAuthorisedWithHandshakeAndBadRealmGet()
           
 void testAuthenticationAuthorisedWithHandshakeAndBadRealmPost()
           
 void testAuthenticationAuthorisedWithHandshakeAndRealmGet()
           
 void testAuthenticationAuthorisedWithHandshakeAndRealmPost()
           
 void testAuthenticationAuthorisedWithHandshakeGet()
           
 void testAuthenticationAuthorisedWithHandshakePost()
           
 void testAuthenticationFailureBadCredentialsGet()
           
 void testAuthenticationFailureBadCredentialsGetHttps()
          By putting this test method that uses https first we can test MULE-4558
 void testAuthenticationFailureBadCredentialsPost()
           
 void testAuthenticationFailureBadCredentialsPostHttps()
           
 void testAuthenticationFailureNoContextGet()
           
 void testAuthenticationFailureNoContextPost()
           
 
Methods inherited from class org.mule.tck.AbstractServiceAndFlowTestCase
doSetUp, doSetUpForFlow, doSetUpForService, getConfigResources, getTestHeader
 
Methods inherited from class org.mule.tck.junit4.FunctionalTestCase
clearFlowAssertions, getBuilder, getComponent, getComponent, getFlowConstruct, getFunctionalTestComponent, loadResource, loadResourceAsString, stopFlowConstruct, testFlow, testFlow
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleContextTestCase
addBuilders, configureMuleContext, createMuleContext, createObject, createObject, disposeContext, disposeContextPerTest, doTearDown, getConfigurationResources, getSensingNullMessageProcessor, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestEventContext, getTestEventUsingFlow, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransactedInboundEndpoint, getTestTransformer, getTriggerableMessageSource, getTriggerableMessageSource, initialiseObject, isDisposeContextPerClass, isGracefulShutdown, isStartContext, setDisposeContextPerClass, setStartContext, setUpMuleContext
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dynamicPort1

public DynamicPort dynamicPort1

dynamicPort2

public DynamicPort dynamicPort2
Constructor Detail

HttpSecurityFilterFunctionalTestCase

public HttpSecurityFilterFunctionalTestCase(AbstractServiceAndFlowTestCase.ConfigVariant variant,
                                            String configResources)
Method Detail

parameters

public static Collection<Object[]> parameters()

testAuthenticationFailureBadCredentialsGetHttps

public void testAuthenticationFailureBadCredentialsGetHttps()
                                                     throws Exception
By putting this test method that uses https first we can test MULE-4558

Throws:
Exception

testAuthenticationFailureNoContextGet

public void testAuthenticationFailureNoContextGet()
                                           throws Exception
Throws:
Exception

testAuthenticationFailureNoContextPost

public void testAuthenticationFailureNoContextPost()
                                            throws Exception
Throws:
Exception

testAuthenticationFailureBadCredentialsGet

public void testAuthenticationFailureBadCredentialsGet()
                                                throws Exception
Throws:
Exception

testAuthenticationFailureBadCredentialsPost

public void testAuthenticationFailureBadCredentialsPost()
                                                 throws Exception
Throws:
Exception

testAuthenticationFailureBadCredentialsPostHttps

public void testAuthenticationFailureBadCredentialsPostHttps()
                                                      throws Exception
Throws:
Exception

testAuthenticationAuthorisedGet

public void testAuthenticationAuthorisedGet()
                                     throws Exception
Throws:
Exception

testAuthenticationAuthorisedGetHttps

public void testAuthenticationAuthorisedGetHttps()
                                          throws Exception
Throws:
Exception

testAuthenticationAuthorisedPost

public void testAuthenticationAuthorisedPost()
                                      throws Exception
Throws:
Exception

testAuthenticationAuthorisedPostHttps

public void testAuthenticationAuthorisedPostHttps()
                                           throws Exception
Throws:
Exception

testAuthenticationAuthorisedWithHandshakeGet

public void testAuthenticationAuthorisedWithHandshakeGet()
                                                  throws Exception
Throws:
Exception

testAuthenticationAuthorisedWithHandshakePost

public void testAuthenticationAuthorisedWithHandshakePost()
                                                   throws Exception
Throws:
Exception

testAuthenticationAuthorisedWithHandshakeAndBadRealmGet

public void testAuthenticationAuthorisedWithHandshakeAndBadRealmGet()
                                                             throws Exception
Throws:
Exception

testAuthenticationAuthorisedWithHandshakeAndBadRealmPost

public void testAuthenticationAuthorisedWithHandshakeAndBadRealmPost()
                                                              throws Exception
Throws:
Exception

testAuthenticationAuthorisedWithHandshakeAndRealmGet

public void testAuthenticationAuthorisedWithHandshakeAndRealmGet()
                                                          throws Exception
Throws:
Exception

testAuthenticationAuthorisedWithHandshakeAndRealmPost

public void testAuthenticationAuthorisedWithHandshakeAndRealmPost()
                                                           throws Exception
Throws:
Exception


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.