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

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.RenderRequestImpl
                  extended by org.apache.cocoon.portal.pluto.factory.RenderRequestImpl
All Implemented Interfaces:
javax.portlet.PortletRequest, javax.portlet.RenderRequest, HttpServletRequest, ServletRequest, org.apache.pluto.core.InternalPortletRequest

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

Implementation for the render request object.

Version:
$Id: RenderRequestImpl.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
RenderRequestImpl(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.RenderRequestImpl
getPreferences, getReader
 
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, 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.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

RenderRequestImpl

public RenderRequestImpl(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.