fr.paris.lutece.plugins.mylutece.web
Class MyLuteceApp

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.web.MyLuteceApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication

public class MyLuteceApp
extends java.lang.Object
implements fr.paris.lutece.portal.web.xpages.XPageApplication

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


Constructor Summary
MyLuteceApp()
          Constructor
 
Method Summary
 java.lang.String doLogin(javax.servlet.http.HttpServletRequest request)
          This method is call by the JSP named DoMyLuteceLogin.jsp
 java.lang.String doLogout(javax.servlet.http.HttpServletRequest request)
          This method is call by the JSP named DoMyLuteceLogout.jsp
static java.lang.String getAccessControledTemplate()
          Returns the template for access controled
static java.lang.String getAccessDeniedTemplate()
          Returns the template for access denied
static java.lang.String getDefaultRedirectUrl()
          Returns the Default redirect URL of the Authentication Service
static java.lang.String getDoLoginUrl()
          Returns the DoLogin URL of the Authentication Service
static java.lang.String getDoLogoutUrl()
          Returns the DoLogout URL of the Authentication Service
static java.lang.String getLoginPageUrl()
          Returns the Login page URL of the Authentication Service
static java.lang.String getLostPasswordUrl()
          Returns the Lost Password URL of the Authentication Service
static java.lang.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 java.lang.String getViewAccountUrl()
          Returns the ViewAccount URL of the Authentication Service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyLuteceApp

public MyLuteceApp()
Constructor

Method Detail

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)
This method builds a XPage object corresponding to the request

Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - The HTTP request
nMode - The mode
plugin - The plugin object which belongs the App
Returns:
The XPage object containing the page content

doLogin

public java.lang.String doLogin(javax.servlet.http.HttpServletRequest request)
This method is call by the JSP named DoMyLuteceLogin.jsp

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

getLoginPageUrl

public static java.lang.String getLoginPageUrl()
Returns the Login page URL of the Authentication Service

Returns:
The URL

getDoLoginUrl

public static java.lang.String getDoLoginUrl()
Returns the DoLogin URL of the Authentication Service

Returns:
The URL

getDoLogoutUrl

public static java.lang.String getDoLogoutUrl()
Returns the DoLogout URL of the Authentication Service

Returns:
The URL

getNewAccountUrl

public static java.lang.String getNewAccountUrl()
Returns the NewAccount URL of the Authentication Service

Returns:
The URL

getViewAccountUrl

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

Returns:
The URL

getLostPasswordUrl

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

Returns:
The URL

getDefaultRedirectUrl

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

Returns:
The URL

doLogout

public java.lang.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.

getAccessDeniedTemplate

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

Returns:
The template path

getAccessControledTemplate

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

Returns:
The template path


Copyright © 2009 Mairie de Paris. All Rights Reserved.