public class MyLuteceApp extends Object implements fr.paris.lutece.portal.web.xpages.XPageApplication
Constructor and Description |
---|
MyLuteceApp()
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
doLogin(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoMyLuteceLogin.jsp
|
String |
doLogout(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoMyLuteceLogout.jsp
|
String |
doResetConnectionLog(javax.servlet.http.HttpServletRequest request)
Reset the connection log of an IP.
|
static String |
getAccessControledTemplate()
Returns the template for access controled
|
static String |
getAccessDeniedTemplate()
Returns the template for access denied
|
static String |
getCurrentUrl(javax.servlet.http.HttpServletRequest request)
Returns the current url
|
static String |
getDefaultRedirectUrl()
Returns the Default redirect URL of the Authentication Service
|
static String |
getDoLoginUrl()
Returns the DoLogin URL of the Authentication Service
|
static String |
getDoLogoutUrl()
Returns the DoLogout URL of the Authentication Service
|
static String |
getLoginPageUrl()
Returns the Login page URL of the Authentication Service
|
static String |
getLostLoginUrl()
Returns the Lost login URL of the Authentication Service
|
static String |
getLostPasswordUrl()
Returns the Lost Password URL of the Authentication Service
|
static String |
getNewAccountUrl()
Returns the NewAccount URL of the Authentication Service
|
fr.paris.lutece.portal.web.xpages.XPage |
getPage(javax.servlet.http.HttpServletRequest request,
int nMode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
This method builds a XPage object corresponding to the request
|
static String |
getResetPasswordUrl(javax.servlet.http.HttpServletRequest request)
Returns the Reset Password URL of the Authentication Service
|
static String |
getViewAccountUrl()
Returns the ViewAccount URL of the Authentication Service
|
static void |
setCurrentUrl(javax.servlet.http.HttpServletRequest request)
Set the current url
|
public fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getPage
in interface fr.paris.lutece.portal.web.xpages.XPageApplication
request
- The HTTP requestnMode
- The modeplugin
- The plugin object which belongs the Apppublic String doLogin(javax.servlet.http.HttpServletRequest request) throws UnsupportedEncodingException
request
- The HTTP requestUnsupportedEncodingException
public static String getLoginPageUrl()
public static String getDoLoginUrl()
public static String getDoLogoutUrl()
public static String getNewAccountUrl()
public static String getViewAccountUrl()
public static String getLostPasswordUrl()
public static String getLostLoginUrl()
public static String getResetPasswordUrl(javax.servlet.http.HttpServletRequest request)
request
- The requestpublic static String getDefaultRedirectUrl()
public String doLogout(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestpublic static String getAccessDeniedTemplate()
public static String getAccessControledTemplate()
public String doResetConnectionLog(javax.servlet.http.HttpServletRequest request)
request
- The requestpublic static String getCurrentUrl(javax.servlet.http.HttpServletRequest request)
request
- The Http requestpublic static void setCurrentUrl(javax.servlet.http.HttpServletRequest request)
request
- The Http requestCopyright © 2018 City of Paris. All rights reserved.