org.acegisecurity.ui.basicauth
Class BasicProcessingFilterTests
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jmock.core.VerifyingTestCase
org.jmock.core.MockObjectSupportTestCase
org.jmock.MockObjectTestCase
org.acegisecurity.ui.basicauth.BasicProcessingFilterTests
- All Implemented Interfaces:
- junit.framework.Test
public class BasicProcessingFilterTests
- extends org.jmock.MockObjectTestCase
Tests BasicProcessingFilter.
- Version:
- $Id: BasicProcessingFilterTests.java 1496 2006-05-23 13:38:33Z benalex $
- Author:
- Ben Alex
| Fields inherited from class org.jmock.core.MockObjectSupportTestCase |
ANYTHING, NOT_NULL, NULL |
| Methods inherited from class org.jmock.MockObjectTestCase |
atLeastOnce, defaultMockNameForType, mock, mock, never, newCoreMock, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException |
| Methods inherited from class org.jmock.core.MockObjectSupportTestCase |
and, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, isA, newDummy, newDummy, newDummy, not, or, same, stringContains |
| Methods inherited from class org.jmock.core.VerifyingTestCase |
registerToVerify, runBare, unregisterToVerify, verify |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, 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 |
BasicProcessingFilterTests
public BasicProcessingFilterTests()
BasicProcessingFilterTests
public BasicProcessingFilterTests(String arg0)
main
public static void main(String[] args)
setUp
protected void setUp()
throws Exception
- Overrides:
setUp in class junit.framework.TestCase
- Throws:
Exception
tearDown
protected void tearDown()
throws Exception
- Overrides:
tearDown in class junit.framework.TestCase
- Throws:
Exception
testDoFilterWithNonHttpServletRequestDetected
public void testDoFilterWithNonHttpServletRequestDetected()
throws Exception
- Throws:
Exception
testDoFilterWithNonHttpServletResponseDetected
public void testDoFilterWithNonHttpServletResponseDetected()
throws Exception
- Throws:
Exception
testFilterIgnoresRequestsContainingNoAuthorizationHeader
public void testFilterIgnoresRequestsContainingNoAuthorizationHeader()
throws Exception
- Throws:
Exception
testGettersSetters
public void testGettersSetters()
testInvalidBasicAuthorizationTokenIsIgnored
public void testInvalidBasicAuthorizationTokenIsIgnored()
throws Exception
- Throws:
Exception
testNormalOperation
public void testNormalOperation()
throws Exception
- Throws:
Exception
testOtherAuthorizationSchemeIsIgnored
public void testOtherAuthorizationSchemeIsIgnored()
throws Exception
- Throws:
Exception
testStartupDetectsMissingAuthenticationEntryPoint
public void testStartupDetectsMissingAuthenticationEntryPoint()
throws Exception
- Throws:
Exception
testStartupDetectsMissingAuthenticationManager
public void testStartupDetectsMissingAuthenticationManager()
throws Exception
- Throws:
Exception
testSuccessLoginThenFailureLoginResultsInSessionLoosingToken
public void testSuccessLoginThenFailureLoginResultsInSessionLoosingToken()
throws Exception
- Throws:
Exception
testWrongPasswordContinuesFilterChainIfIgnoreFailureIsTrue
public void testWrongPasswordContinuesFilterChainIfIgnoreFailureIsTrue()
throws Exception
- Throws:
Exception
testWrongPasswordReturnsForbiddenIfIgnoreFailureIsFalse
public void testWrongPasswordReturnsForbiddenIfIgnoreFailureIsFalse()
throws Exception
- Throws:
Exception
Copyright © 2004-2008 Interface21, Inc. All Rights Reserved.