public class AuthenticationResponseCodeTest extends Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.TestRule |
logRule |
Constructor and Description |
---|
AuthenticationResponseCodeTest() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.httpclient.HttpMethod |
assertPostStatus(String url,
int expectedStatusCode,
List<org.apache.commons.httpclient.NameValuePair> postParams,
List<org.apache.commons.httpclient.Header> headers,
String assertMessage) |
void |
cleanup() |
void |
setup() |
void |
testPreventLoopIncorrectFormCredentials() |
void |
testPreventLoopIncorrectHttpBasicCredentials() |
void |
testValidatingCorrectFormCredentials() |
void |
testValidatingCorrectHttpBasicCredentials() |
void |
testValidatingIncorrectCookie() |
void |
testValidatingIncorrectCredentials() |
void |
testValidatingIncorrectHttpBasicCredentials() |
void |
testWithNonHtmlAcceptHeaderIncorrectCredentials() |
void |
testWithoutAcceptHeaderIncorrectCredentials() |
void |
testXRequestedWithIncorrectCredentials() |
public void testValidatingCorrectFormCredentials() throws Exception
Exception
public void testValidatingCorrectHttpBasicCredentials() throws Exception
Exception
public void testValidatingIncorrectCredentials() throws Exception
Exception
public void testValidatingIncorrectCookie() throws Exception
Exception
public void testValidatingIncorrectHttpBasicCredentials() throws Exception
Exception
public void testPreventLoopIncorrectHttpBasicCredentials() throws Exception
Exception
public void testPreventLoopIncorrectFormCredentials() throws Exception
Exception
public void testXRequestedWithIncorrectCredentials() throws Exception
Exception
public void testWithoutAcceptHeaderIncorrectCredentials() throws Exception
Exception
public void testWithNonHtmlAcceptHeaderIncorrectCredentials() throws Exception
Exception
protected org.apache.commons.httpclient.HttpMethod assertPostStatus(String url, int expectedStatusCode, List<org.apache.commons.httpclient.NameValuePair> postParams, List<org.apache.commons.httpclient.Header> headers, String assertMessage) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.