com.atlassian.security.auth.trustedapps.filter
Class TestTrustedApplicationsFilter

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.atlassian.security.auth.trustedapps.filter.TestTrustedApplicationsFilter
All Implemented Interfaces:
junit.framework.Test

public class TestTrustedApplicationsFilter
extends junit.framework.TestCase


Constructor Summary
TestTrustedApplicationsFilter()
           
 
Method Summary
 void testAuthenticateCalledForNonCertURL()
           
 void testAuthenticatorResultCtor()
           
 void testAythenticateNotCalledWhenAlreadyLoggedIn()
           
 void testCertificateServerCalledForTrustURL()
           
 void testFilterLifecycle()
           
 void testGetPathInfoNullContext()
           
 void testGetPathInfoWithContext()
           
 void testResultStatusError()
           
 void testResultStatusFailed()
           
 void testResultStatusNoAttempt()
           
 void testResultStatusSuccess()
           
 void testSessionInvalidateCalledForNonCertURLWhenExceptionThrown()
           
 void testSessionInvalidateNotCalledForNonCertURLWhenResultError()
           
 void testSessionInvalidateNotCalledForNonCertURLWhenResultFailed()
           
 void testSessionInvalidateNotCalledForNonCertURLWhenResultNoAttempt()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestTrustedApplicationsFilter

public TestTrustedApplicationsFilter()
Method Detail

testAuthenticatorResultCtor

public void testAuthenticatorResultCtor()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testFilterLifecycle

public void testFilterLifecycle()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testGetPathInfoNullContext

public void testGetPathInfoNullContext()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testGetPathInfoWithContext

public void testGetPathInfoWithContext()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testCertificateServerCalledForTrustURL

public void testCertificateServerCalledForTrustURL()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testAuthenticateCalledForNonCertURL

public void testAuthenticateCalledForNonCertURL()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testSessionInvalidateCalledForNonCertURLWhenExceptionThrown

public void testSessionInvalidateCalledForNonCertURLWhenExceptionThrown()
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testSessionInvalidateNotCalledForNonCertURLWhenResultFailed

public void testSessionInvalidateNotCalledForNonCertURLWhenResultFailed()
                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testSessionInvalidateNotCalledForNonCertURLWhenResultError

public void testSessionInvalidateNotCalledForNonCertURLWhenResultError()
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

testSessionInvalidateNotCalledForNonCertURLWhenResultNoAttempt

public void testSessionInvalidateNotCalledForNonCertURLWhenResultNoAttempt()
                                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testAythenticateNotCalledWhenAlreadyLoggedIn

public void testAythenticateNotCalledWhenAlreadyLoggedIn()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testResultStatusSuccess

public void testResultStatusSuccess()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testResultStatusFailed

public void testResultStatusFailed()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testResultStatusError

public void testResultStatusError()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testResultStatusNoAttempt

public void testResultStatusNoAttempt()
                               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.