mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
handle session expiration
This commit is contained in:
@@ -4,6 +4,7 @@ import javax.enterprise.inject.spi.BeanManager;
|
||||
import javax.naming.InitialContext;
|
||||
import javax.naming.NamingException;
|
||||
|
||||
import org.apache.wicket.Application;
|
||||
import org.apache.wicket.Page;
|
||||
import org.apache.wicket.Session;
|
||||
import org.apache.wicket.ajax.AjaxRequestTarget;
|
||||
@@ -105,4 +106,9 @@ public class CommaFeedApplication extends AuthenticatedWebApplication {
|
||||
return CommaFeedSession.class;
|
||||
}
|
||||
|
||||
public static CommaFeedApplication get() {
|
||||
|
||||
return (CommaFeedApplication) Application.get();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user