fr.ifremer.wao.ui.services
Class RequiresAuthenticationFilter
java.lang.Object
fr.ifremer.wao.ui.services.RequiresAuthenticationFilter
- All Implemented Interfaces:
- org.apache.tapestry5.services.ComponentRequestFilter
public class RequiresAuthenticationFilter
- extends Object
- implements org.apache.tapestry5.services.ComponentRequestFilter
RequiresLoginFilter
Created: 3 mai 2010
- Author:
- fdesbois
$Id: RequiresAuthenticationFilter.java 572 2010-06-28 15:13:48Z fdesbois $
|
Constructor Summary |
RequiresAuthenticationFilter(org.apache.tapestry5.services.PageRenderLinkSource renderLinkSource,
org.apache.tapestry5.services.ComponentSource componentSource,
org.apache.tapestry5.services.Response response,
ServiceAuthentication serviceAuthentication)
|
|
Method Summary |
void |
handleComponentEvent(org.apache.tapestry5.services.ComponentEventRequestParameters parameters,
org.apache.tapestry5.services.ComponentRequestHandler handler)
|
void |
handlePageRender(org.apache.tapestry5.services.PageRenderRequestParameters parameters,
org.apache.tapestry5.services.ComponentRequestHandler handler)
|
protected Object[] |
prepareContext(String pageName,
org.apache.tapestry5.EventContext activationContext)
Prepare the context for redirect page. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequiresAuthenticationFilter
public RequiresAuthenticationFilter(org.apache.tapestry5.services.PageRenderLinkSource renderLinkSource,
org.apache.tapestry5.services.ComponentSource componentSource,
org.apache.tapestry5.services.Response response,
ServiceAuthentication serviceAuthentication)
handleComponentEvent
public void handleComponentEvent(org.apache.tapestry5.services.ComponentEventRequestParameters parameters,
org.apache.tapestry5.services.ComponentRequestHandler handler)
throws IOException
- Specified by:
handleComponentEvent in interface org.apache.tapestry5.services.ComponentRequestFilter
- Throws:
IOException
handlePageRender
public void handlePageRender(org.apache.tapestry5.services.PageRenderRequestParameters parameters,
org.apache.tapestry5.services.ComponentRequestHandler handler)
throws IOException
- Specified by:
handlePageRender in interface org.apache.tapestry5.services.ComponentRequestFilter
- Throws:
IOException
prepareContext
protected Object[] prepareContext(String pageName,
org.apache.tapestry5.EventContext activationContext)
- Prepare the context for redirect page.
- Parameters:
pageName - the pageName to treateactivationContext - the EventContext of this page
- Returns:
- an array of Object for Context
Copyright © 2009-2010 Ifremer. All Rights Reserved.