summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java')
-rw-r--r--uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java b/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java
index 96ebe1345f..72e0a215a7 100644
--- a/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java
+++ b/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java
@@ -1,6 +1,6 @@
package com.vaadin.tests.applicationcontext;
-import com.vaadin.server.ServletApplicationContext;
+import com.vaadin.server.VaadinServletSession;
import com.vaadin.tests.components.AbstractTestCase;
import com.vaadin.tests.util.Log;
import com.vaadin.ui.Button;
@@ -32,7 +32,7 @@ public class ChangeSessionId extends AbstractTestCase {
loginButton.addListener(new ClickListener() {
@Override
public void buttonClick(ClickEvent event) {
- ServletApplicationContext context = ((ServletApplicationContext) getContext());
+ VaadinServletSession context = ((VaadinServletSession) getContext());
String oldSessionId = context.getHttpSession().getId();
context.reinitializeSession();
@@ -55,7 +55,7 @@ public class ChangeSessionId extends AbstractTestCase {
}
protected String getSessionId() {
- return ((ServletApplicationContext) getContext()).getHttpSession().getId();
+ return ((VaadinServletSession) getContext()).getHttpSession().getId();
}
@Override