|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.database.authentication.web.MyLuteceDatabaseApp
public class MyLuteceDatabaseApp
This class provides the XPageApp that manage personalization features for Mylutece Database module : login, account management, ...
| Constructor Summary | |
|---|---|
MyLuteceDatabaseApp()
|
|
| Method Summary | |
|---|---|
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 |
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 |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MyLuteceDatabaseApp()
| Method Detail |
|---|
public void init(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
request - The HTTP requestplugin - The plugin
public 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.XPageApplicationrequest - The HTTP requestnMode - The mode (admin, ...)plugin - The plugin
fr.paris.lutece.portal.service.security.UserNotSignedException - if user not signed
fr.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 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 request
public String doCreateAccount(javax.servlet.http.HttpServletRequest request)
request - The HTTP request
public String doValidateAccount(javax.servlet.http.HttpServletRequest request)
request - the HTTP request
public 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 request
fr.paris.lutece.portal.service.message.SiteMessageException - site message if the key is wrongpublic String doReinitPassword(javax.servlet.http.HttpServletRequest request)
request - the http servlet request
public String doChangePassword(javax.servlet.http.HttpServletRequest request)
request - The HTTP request
public String doSendPassword(javax.servlet.http.HttpServletRequest request)
request - The HTTP request
public String doSendLogin(javax.servlet.http.HttpServletRequest request)
request - The HTTP request
public 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 request
fr.paris.lutece.portal.service.message.SiteMessageException - A SiteMessageException is ALWAYS thrown
public void getMessageResetPassword(javax.servlet.http.HttpServletRequest request)
throws fr.paris.lutece.portal.service.message.SiteMessageException
request - The request
fr.paris.lutece.portal.service.message.SiteMessageException - The exception thrown to redirect the user to
the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||