|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.security.auth.trustedapps.seraph.filter.TestSeraphAuthenticationController
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 |
public TestSeraphAuthenticationController()
| Method Detail |
protected void setUp()
throws java.lang.Exception
java.lang.Exception
protected void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateSeraphAuthenticationControllerWithNullRoleMapperThrowsIllegalArgumentException()
public void testShouldAttemptAuthenticationWithSeraphAuthenticationStatusAttributeNotPresent()
public void testShouldAttemptAuthenticationWithSeraphAuthenticationStatusAttributePresent()
public void testCanLoginWithRoleMapperDenyingLogin()
public void testCanLoginWithRoleMapperAllowingLogin()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||