com.atlassian.sal.core.xsrf
Class TestIndependentXsrfTokenAccessor

java.lang.Object
  extended by com.atlassian.sal.core.xsrf.TestIndependentXsrfTokenAccessor

public class TestIndependentXsrfTokenAccessor
extends Object

Since:
2.4

Constructor Summary
TestIndependentXsrfTokenAccessor()
           
 
Method Summary
 void setUp()
           
 void testCreateToken()
           
 void testCreateTokenForANonSecureRequestCreatesANonSecureCookie()
           
 void testCreateTokenForASecureRequestCreatesASecureCookie()
           
 void testGetExistingToken()
           
 void testGetExistingTokenNoCreate()
           
 void testGetTokenNoCreate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestIndependentXsrfTokenAccessor

public TestIndependentXsrfTokenAccessor()
Method Detail

setUp

public void setUp()

testGetExistingToken

public void testGetExistingToken()

testGetExistingTokenNoCreate

public void testGetExistingTokenNoCreate()

testCreateToken

public void testCreateToken()

testCreateTokenForASecureRequestCreatesASecureCookie

public void testCreateTokenForASecureRequestCreatesASecureCookie()

testCreateTokenForANonSecureRequestCreatesANonSecureCookie

public void testCreateTokenForANonSecureRequestCreatesANonSecureCookie()

testGetTokenNoCreate

public void testGetTokenNoCreate()


Copyright © 2015 Atlassian. All rights reserved.