org.apache.cocoon.portal.pluto.factory
Class ActionRequestImpl

java.lang.Object
  extended by javax.servlet.ServletRequestWrapper
      extended by javax.servlet.http.HttpServletRequestWrapper
          extended by org.apache.pluto.core.impl.PortletRequestImpl
              extended by org.apache.pluto.core.impl.ActionRequestImpl
                  extended by org.apache.cocoon.portal.pluto.factory.ActionRequestImpl
All Implemented Interfaces:
javax.portlet.ActionRequest, javax.portlet.PortletRequest, HttpServletRequest, ServletRequest, org.apache.pluto.core.InternalPortletRequest

public class ActionRequestImpl
extends org.apache.pluto.core.impl.ActionRequestImpl

Implementation for the action request object.

Version:
$Id: ActionRequestImpl.java 433543 2006-08-22 06:22:54Z crossley $

Field Summary
protected  PortalUser user
          The portal user.
 
Fields inherited from interface javax.portlet.PortletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, USER_INFO
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
ActionRequestImpl(org.apache.pluto.om.window.PortletWindow window, HttpServletRequest req, PortalUser user)
           
 
Method Summary
 String getRemoteUser()
           
 boolean isUserInRole(String role)
           
 
Methods inherited from class org.apache.pluto.core.impl.ActionRequestImpl
getPortletInputStream, getPreferences
 
Methods inherited from class org.apache.pluto.core.impl.PortletRequestImpl
getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getInputStream, getInternalPortletWindow, getIntHeader, getLocale, getLocales, getMethod, getParameter, getParameterMap, getParameterNames, getParameterValues, getPathInfo, getPathTranslated, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getProperties, getProperty, getPropertyNames, getProtocol, getQueryString, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getRequestedSessionId, getRequestURI, getRequestURL, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getServletPath, getSession, getSession, getUserPrincipal, getWindowState, isIncluded, isPortletModeAllowed, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isWindowStateAllowed, lateInit, removeAttribute, setAttribute, setCharacterEncoding, setIncluded
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getRequest, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.portlet.ActionRequest
getCharacterEncoding, getContentLength, getContentType, getReader, setCharacterEncoding
 
Methods inherited from interface javax.portlet.PortletRequest
getAttribute, getAttributeNames, getAuthType, getContextPath, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getProperties, getProperty, getPropertyNames, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isWindowStateAllowed, removeAttribute, setAttribute
 

Field Detail

user

protected final PortalUser user
The portal user.

Constructor Detail

ActionRequestImpl

public ActionRequestImpl(org.apache.pluto.om.window.PortletWindow window,
                         HttpServletRequest req,
                         PortalUser user)
Method Detail

getRemoteUser

public String getRemoteUser()
Specified by:
getRemoteUser in interface javax.portlet.PortletRequest
Specified by:
getRemoteUser in interface HttpServletRequest
Overrides:
getRemoteUser in class org.apache.pluto.core.impl.PortletRequestImpl
See Also:
PortletRequestImpl.getRemoteUser()

isUserInRole

public boolean isUserInRole(String role)
Specified by:
isUserInRole in interface javax.portlet.PortletRequest
Specified by:
isUserInRole in interface HttpServletRequest
Overrides:
isUserInRole in class org.apache.pluto.core.impl.PortletRequestImpl
See Also:
PortletRequestImpl.isUserInRole(java.lang.String)


Copyright ? 1999-2007 The Apache Software Foundation. All Rights Reserved.