public class MyLuteceDatabaseApp extends Object implements fr.paris.lutece.portal.web.xpages.XPageApplication
Constructor and Description |
---|
MyLuteceDatabaseApp() |
Modifier and Type | Method and Description |
---|---|
String |
doChangePassword(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoChangePassword.jsp
|
String |
doCreateAccount(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoCreateAccount.jsp
|
String |
doLogout(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoMyLuteceLogout.jsp
|
String |
doModifyAccount(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoModifyAccount.jsp
|
String |
doReinitPassword(javax.servlet.http.HttpServletRequest request)
Do reinit the password
|
String |
doSendLogin(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoSendLogin.jsp
|
String |
doSendPassword(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoSendPassword.jsp
|
String |
doValidateAccount(javax.servlet.http.HttpServletRequest request)
Do validate an account
|
static String |
getAccessControledTemplate()
Returns the template for access controled
|
static String |
getAccessDeniedTemplate()
Returns the template for access denied
|
static String |
getAccessDeniedUrl()
Returns the NewAccount URL of the Authentication Service
|
static String |
getChangePasswordUrl()
Returns the NewAccount URL of the Authentication Service
|
static String |
getDefaultRedirectUrl()
Returns the Default redirect URL of the Authentication Service
|
static String |
getLoginPageUrl()
Returns the Login page URL of the Authentication Service
|
static String |
getLostLoginUrl()
Returns the Lost Password URL of the Authentication Service
|
static String |
getLostPasswordUrl()
Returns the Lost Password URL of the Authentication Service
|
void |
getMessageResetPassword(javax.servlet.http.HttpServletRequest request)
Get the reset password message
|
static String |
getMessageResetPasswordUrl()
Get the reset password Url
|
static String |
getModifyAccountUrl()
Returns the modifyAccount URL of the Authentication Service
|
static String |
getNewAccountUrl()
Returns the createAccount 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) |
static String |
getReinitPageUrl()
Returns the Reinit password page URL of the Authentication Service
|
fr.paris.lutece.portal.web.xpages.XPage |
getReinitPasswordPage(fr.paris.lutece.portal.web.xpages.XPage page,
javax.servlet.http.HttpServletRequest request)
Get reinit password page
|
static String |
getResetPasswordUrl()
Returns the Reset Password URL of the Authentication Service
|
static String |
getViewAccountUrl()
Returns the ViewAccount URL of the Authentication Service
|
void |
init(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
reactivateAccount(javax.servlet.http.HttpServletRequest request)
Reactivate an account if necessary
|
public void init(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.service.plugin.Plugin plugin)
request
- The HTTP requestplugin
- The pluginpublic fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, fr.paris.lutece.portal.service.plugin.Plugin plugin) throws fr.paris.lutece.portal.service.security.UserNotSignedException, fr.paris.lutece.portal.service.message.SiteMessageException
getPage
in interface fr.paris.lutece.portal.web.xpages.XPageApplication
request
- The HTTP requestnMode
- The mode (admin, ...)plugin
- The pluginfr.paris.lutece.portal.service.security.UserNotSignedException
- if user not signedfr.paris.lutece.portal.service.message.SiteMessageException
- Occurs when a site message need to be
displayedpublic static String getChangePasswordUrl()
public static String getViewAccountUrl()
public static String getNewAccountUrl()
public static String getModifyAccountUrl()
public static String getLostPasswordUrl()
public static String getLostLoginUrl()
public static String getResetPasswordUrl()
public static String getMessageResetPasswordUrl()
public static String getDefaultRedirectUrl()
public static String getAccessDeniedUrl()
public static String getLoginPageUrl()
public static String getReinitPageUrl()
public String doLogout(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestpublic String doCreateAccount(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestpublic String doModifyAccount(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.security.UserNotSignedException
request
- The HTTP requestfr.paris.lutece.portal.service.security.UserNotSignedException
public String doValidateAccount(javax.servlet.http.HttpServletRequest request)
request
- the HTTP requestpublic fr.paris.lutece.portal.web.xpages.XPage getReinitPasswordPage(fr.paris.lutece.portal.web.xpages.XPage page, javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.message.SiteMessageException
page
- the pagerequest
- the HTTP servlet requestfr.paris.lutece.portal.service.message.SiteMessageException
- site message if the key is wrongpublic String doReinitPassword(javax.servlet.http.HttpServletRequest request)
request
- the http servlet requestpublic String doChangePassword(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestpublic String doSendPassword(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestpublic String doSendLogin(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestpublic static String getAccessDeniedTemplate()
public static String getAccessControledTemplate()
public void reactivateAccount(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.message.SiteMessageException
request
- The requestfr.paris.lutece.portal.service.message.SiteMessageException
- A SiteMessageException is ALWAYS thrownpublic void getMessageResetPassword(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.message.SiteMessageException
request
- The requestfr.paris.lutece.portal.service.message.SiteMessageException
- The exception thrown to redirect the user to
the messageCopyright © 2018 City of Paris. All rights reserved.