package org.orienteer.core.web;

import org.orienteer.core.MountPath;
import org.orienteer.core.OrienteerWebApplication;

import ru.ydn.wicket.wicketorientdb.OrientDbWebSession;

/**
 * Logout page. Invalidates current session
 */
@MountPath("/logout")
public class LogoutPage extends BasePage<Object> {
	private static final long serialVersionUID = 1L;

	public LogoutPage()
	{
		OrientDbWebSession.get().invalidate();
		setResponsePage(OrienteerWebApplication.get().getHomePage());
	}
}

@@ -118,53 +118,43 @@
 on;%0A
-%0A
 import 
-ru.ydn.wicket.wicketorientdb
+org.orienteer.core
 .Orient
-Db
+eer
 WebS
@@ -358,18 +358,17 @@
 utPage()
-%0A%09
+ 
 %7B%0A%09%09Orie
@@ -373,10 +373,11 @@
 ient
-Db
+eer
 WebS
@@ -393,18 +393,15 @@
 t().
-invalidate
+signOut
 ();%0A

Call OrienteerWebSession.signOut() instead OrienteerWebSession.invalidate()