Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0b303a0

Browse files
committedNov 14, 2015
Added query parameter values for Liberty in default configuration
1 parent 771b724 commit 0b303a0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎jaspic/lifecycle/src/test/java/org/javaee7/jaspic/lifecycle/AuthModuleMethodInvocationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void testLogout() throws IOException, SAXException {
7373
// Note that we don't explicitly log-in; the test SAM uses for this test does that automatically before the resource
7474
// (servlet)
7575
// is invoked. Once we reach the Servlet we should be logged-in and can proceed to logout.
76-
String response = getFromServerPath("protected/servlet?doLogout");
76+
String response = getFromServerPath("protected/servlet?doLogout=true");
7777

7878
assertTrue("SAM method cleanSubject not called, but should have been.",
7979
response.contains("cleanSubject invoked"));

‎jaspic/register-session/src/test/java/org/javaee7/jaspic/registersession/RegisterSessionTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void testRemembersSession() throws IOException, SAXException {
5050
// JASPIC is normally stateless, but for this test the SAM uses the register session feature so now
5151
// we should be logged-in when doing a call without explicitly logging in again.
5252

53-
response = getFromServerPath("protected/servlet?continueSession");
53+
response = getFromServerPath("protected/servlet?continueSession=true");
5454

5555
// Logged-in thus should be accessible.
5656
assertTrue(
@@ -72,7 +72,7 @@ public void testRemembersSession() throws IOException, SAXException {
7272

7373
// The session should also be remembered for other resources, including public ones
7474

75-
response = getFromServerPath("public/servlet?continueSession");
75+
response = getFromServerPath("public/servlet?continueSession=true");
7676

7777
// This test almost can't fail, but include for clarity
7878
assertTrue(response.contains("This is a public servlet"));
@@ -105,7 +105,7 @@ public void testJoinSessionIsOptional() throws IOException, SAXException {
105105
// JASPIC is normally stateless, but for this test the SAM uses the register session feature so now
106106
// we should be logged-in when doing a call without explicitly logging in again.
107107

108-
response = getFromServerPath("protected/servlet?continueSession");
108+
response = getFromServerPath("protected/servlet?continueSession=true");
109109

110110
// Logged-in thus should be accessible.
111111
assertTrue(

0 commit comments

Comments
 (0)
Please sign in to comment.