fr.paris.lutece.plugins.mylutece.modules.openiddatabase.authentication.web
Class MyLuteceOpenIdDatabaseApp

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.openiddatabase.authentication.web.MyLuteceOpenIdDatabaseApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication

public class MyLuteceOpenIdDatabaseApp
extends Object
implements fr.paris.lutece.portal.web.xpages.XPageApplication

This class provides the XPageApp that manage personalization features for Mylutece Database module : login, account management, ...


Field Summary
static String PARAMETER_ERROR
           
 
Constructor Summary
MyLuteceOpenIdDatabaseApp()
           
 
Method Summary
 String doChangePassword(javax.servlet.http.HttpServletRequest request)
          This method is call by the JSP named DoChangePassword.jsp
 String doChangePasswordLink(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 doModifyUserDetails(javax.servlet.http.HttpServletRequest request)
          This method is call by the JSP named DoCreateAccount.jsp
 String doSendPassword(javax.servlet.http.HttpServletRequest request)
          This method is call by the JSP named DoSendPassword.jsp
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 getChangePasswordLinkUrl()
          Returns the Change password link
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 getLostPasswordUrl()
          Returns the Lost Password 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 getViewAccountUrl()
          Returns the ViewAccount URL of the Authentication Service
 void init(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETER_ERROR

public static final String PARAMETER_ERROR
See Also:
Constant Field Values
Constructor Detail

MyLuteceOpenIdDatabaseApp

public MyLuteceOpenIdDatabaseApp()
Method Detail

init

public void init(javax.servlet.http.HttpServletRequest request,
                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Parameters:
request - The HTTP request
plugin - The plugin

getPage

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
Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - The HTTP request
nMode - The mode (admin, ...)
plugin - The plugin
Returns:
The Xpage
Throws:
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 displayed

getChangePasswordUrl

public static String getChangePasswordUrl()
Returns the NewAccount URL of the Authentication Service

Returns:
The URL

getChangePasswordLinkUrl

public static String getChangePasswordLinkUrl()
Returns the Change password link

Returns:
The URL

getViewAccountUrl

public static String getViewAccountUrl()
Returns the ViewAccount URL of the Authentication Service

Returns:
The URL

getNewAccountUrl

public static String getNewAccountUrl()
Returns the createAccount URL of the Authentication Service

Returns:
The URL

getLostPasswordUrl

public static String getLostPasswordUrl()
Returns the Lost Password URL of the Authentication Service

Returns:
The URL

getDefaultRedirectUrl

public static String getDefaultRedirectUrl()
Returns the Default redirect URL of the Authentication Service

Returns:
The URL

getAccessDeniedUrl

public static String getAccessDeniedUrl()
Returns the NewAccount URL of the Authentication Service

Returns:
The URL

doLogout

public String doLogout(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoMyLuteceLogout.jsp

Parameters:
request - The HTTP request
Returns:
The URL to forward depending of the result of the login.

doCreateAccount

public String doCreateAccount(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoCreateAccount.jsp

Parameters:
request - The HTTP request
Returns:
The URL to forward depending of the result of the change.

doChangePassword

public String doChangePassword(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoChangePassword.jsp

Parameters:
request - The HTTP request
Returns:
The URL to forward depending of the result of the change.

doChangePasswordLink

public String doChangePasswordLink(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoChangePassword.jsp

Parameters:
request - The HTTP request
Returns:
The URL to forward depending of the result of the change.

doSendPassword

public String doSendPassword(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoSendPassword.jsp

Parameters:
request - The HTTP request
Returns:
The URL to forward depending of the result of the sending.

getAccessDeniedTemplate

public static String getAccessDeniedTemplate()
Returns the template for access denied

Returns:
The template path

getAccessControledTemplate

public static String getAccessControledTemplate()
Returns the template for access controled

Returns:
The template path

doModifyUserDetails

public String doModifyUserDetails(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoCreateAccount.jsp

Parameters:
request - The HTTP request
Returns:
The URL to forward depending of the result of the change.


Copyright © 2013 Mairie de Paris. All Rights Reserved.