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

java.lang.Object
  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.html 1304258 2012-03-23 10:09:27Z ilgrosso $

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
 
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.http.HttpServletRequestWrapper
getRequest
 
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-2010 The Apache Software Foundation. All Rights Reserved.