public class CsrfValidatorTest extends Object
CsrfValidator
Constructor and Description |
---|
CsrfValidatorTest() |
Modifier and Type | Method and Description |
---|---|
void |
testValidateCsrf_Invalid_EmptySession()
Tests the situation where a POST is made against a session without a csrf token.
|
void |
testValidateCsrf_Invalid_TokenMismatch()
Tests the situation where a POST is made against a session that has a csrf token but the tokens don't match
|
void |
testValidateCsrf_NonUpdateHttpMethods() |
void |
testValidateCsrf_Valid() |
public CsrfValidatorTest()
public void testValidateCsrf_NonUpdateHttpMethods() throws Exception
Exception
public void testValidateCsrf_Valid()
public void testValidateCsrf_Invalid_EmptySession()
public void testValidateCsrf_Invalid_TokenMismatch()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.