Java Code Examples for org.apache.catalina.authenticator.Constants#SINGLE_SIGN_ON_COOKIE
The following examples show how to use
org.apache.catalina.authenticator.Constants#SINGLE_SIGN_ON_COOKIE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestCookieFilter.java From Tomcat8-Source-Read with MIT License | 5 votes |
@Test public void test09() { // Simple SSO case String id = "0123456789"; String cookie = Constants.SINGLE_SIGN_ON_COOKIE + "=" + id; Assert.assertEquals(cookie, CookieFilter.filter(cookie, id)); }
Example 2
Source File: TestCookieFilter.java From Tomcat7.0.67 with Apache License 2.0 | 5 votes |
@Test public void test09() { // Simple SSO case String id = "0123456789"; String cookie = Constants.SINGLE_SIGN_ON_COOKIE + "=" + id; Assert.assertEquals(cookie, CookieFilter.filter(cookie, id)); }
Example 3
Source File: TestCookieFilter.java From tomcatsrc with Apache License 2.0 | 5 votes |
@Test public void test09() { // Simple SSO case String id = "0123456789"; String cookie = Constants.SINGLE_SIGN_ON_COOKIE + "=" + id; Assert.assertEquals(cookie, CookieFilter.filter(cookie, id)); }