com.khubla.pragmatach.plugin.adminapp
Class BaseAdminController
java.lang.Object
com.khubla.pragmatach.framework.controller.impl.AbstractController
com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
com.khubla.pragmatach.plugin.freemarker.FreemarkerController
com.khubla.pragmatach.plugin.adminapp.BaseAdminController
- All Implemented Interfaces:
- BeanBoundController, PragmatachController
- Direct Known Subclasses:
- AdminLoginController, SecuredAdminController
@Controller(name="pragmatachBaseAdminController")
public class BaseAdminController
- extends FreemarkerController
- Author:
- tome
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.AbstractController |
bad, buildWildcardResourceURI, forward, getApplicationURL, getCacheHeaders, getConfigurationParameter, getControllerName, getControllerName, getPragmatachRoute, getRequest, getResource, getSessionScopedController, ok, redirect, setPragmatachRoute, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USERID
public static final String USERID
- the cookie names
- See Also:
- Constant Field Values
PASSWORD
public static final String PASSWORD
- See Also:
- Constant Field Values
BaseAdminController
public BaseAdminController()
isLoggedIn
public boolean isLoggedIn()
- check if user is logged in
logout
@Route(uri="pragmatach/admin/logout")
public Response logout()
throws PragmatachException
- log out
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.