|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.jira.functest.framework.FuncTestCase com.atlassian.jira.webtests.ztests.security.TestRedirectAfterLogin
public class TestRedirectAfterLogin
These tests were written in response to SER-127, and SER-128, which were header injection and phishing attacks on redirect after login.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, issueTableAssertions, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
Constructor Summary | |
---|---|
TestRedirectAfterLogin()
|
Method Summary | |
---|---|
void |
setUpTest()
Setup for an actual test |
void |
testRedirectWithAbsoluteUrlDifferentContext()
|
void |
testRedirectWithAbsoluteUrlSameContext()
|
void |
testRedirectWithHeaderInjectionCR()
|
void |
testRedirectWithHeaderInjectionCRLF()
|
void |
testRedirectWithHeaderInjectionLF()
|
void |
testRedirectWithRelativeUrl()
|
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
builtInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, isDumpHTML, log, log, runBare, runTest, setEnvironmentData, setUp, setUpHttpUnitOptions, shouldSkipSetup, tearDown, tearDownTest, xpath |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestRedirectAfterLogin()
Method Detail |
---|
public void setUpTest()
FuncTestCase
setUpTest
in class FuncTestCase
public void testRedirectWithRelativeUrl() throws Exception
Exception
public void testRedirectWithAbsoluteUrlSameContext() throws Exception
Exception
public void testRedirectWithAbsoluteUrlDifferentContext() throws Exception
Exception
public void testRedirectWithHeaderInjectionCRLF() throws Exception
Exception
public void testRedirectWithHeaderInjectionCR() throws Exception
Exception
public void testRedirectWithHeaderInjectionLF() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |