org.mule.management.support
Class SimplePasswordJmxAuthenticatorTestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.management.support.SimplePasswordJmxAuthenticatorTestCase

public class SimplePasswordJmxAuthenticatorTestCase
extends AbstractMuleTestCase


Field Summary
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
SimplePasswordJmxAuthenticatorTestCase()
           
 
Method Summary
protected  Map<String,String> getValidCredentials()
           
 void setUpAuthenticator()
           
 void testAuthTokenTooLong()
           
 void testAuthTokenTooShort()
           
 void testInvalidAuthToken()
           
 void testInvalidPassword()
           
 void testNoSuchUser()
           
 void testNullAuthToken()
           
 void testNullOrEmptyCredentialsConfigured()
           
 void testSuccessfulAuthentication()
           
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, 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
 

Constructor Detail

SimplePasswordJmxAuthenticatorTestCase

public SimplePasswordJmxAuthenticatorTestCase()
Method Detail

setUpAuthenticator

public void setUpAuthenticator()
                        throws Exception
Throws:
Exception

testSuccessfulAuthentication

public void testSuccessfulAuthentication()

testNullOrEmptyCredentialsConfigured

public void testNullOrEmptyCredentialsConfigured()

testNullAuthToken

public void testNullAuthToken()

testInvalidAuthToken

public void testInvalidAuthToken()

testAuthTokenTooLong

public void testAuthTokenTooLong()

testAuthTokenTooShort

public void testAuthTokenTooShort()

testNoSuchUser

public void testNoSuchUser()

testInvalidPassword

public void testInvalidPassword()

getValidCredentials

protected Map<String,String> getValidCredentials()


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