com.atlassian.security.auth.trustedapps.seraph.filter
Class TestSeraphAuthenticationController

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

public class TestSeraphAuthenticationController
extends junit.framework.TestCase

Tests for SeraphAuthenticationController


Constructor Summary
TestSeraphAuthenticationController()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testCanLoginWithRoleMapperAllowingLogin()
           
 void testCanLoginWithRoleMapperDenyingLogin()
           
 void testCreateSeraphAuthenticationControllerWithNullRoleMapperThrowsIllegalArgumentException()
           
 void testShouldAttemptAuthenticationWithSeraphAuthenticationStatusAttributeNotPresent()
           
 void testShouldAttemptAuthenticationWithSeraphAuthenticationStatusAttributePresent()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

TestSeraphAuthenticationController

public TestSeraphAuthenticationController()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testCreateSeraphAuthenticationControllerWithNullRoleMapperThrowsIllegalArgumentException

public void testCreateSeraphAuthenticationControllerWithNullRoleMapperThrowsIllegalArgumentException()

testShouldAttemptAuthenticationWithSeraphAuthenticationStatusAttributeNotPresent

public void testShouldAttemptAuthenticationWithSeraphAuthenticationStatusAttributeNotPresent()

testShouldAttemptAuthenticationWithSeraphAuthenticationStatusAttributePresent

public void testShouldAttemptAuthenticationWithSeraphAuthenticationStatusAttributePresent()

testCanLoginWithRoleMapperDenyingLogin

public void testCanLoginWithRoleMapperDenyingLogin()

testCanLoginWithRoleMapperAllowingLogin

public void testCanLoginWithRoleMapperAllowingLogin()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.