org.edg.security.authorization
Class XSQLRequestWrapper

java.lang.Object
  |
  +--javax.servlet.ServletRequestWrapper
        |
        +--javax.servlet.http.HttpServletRequestWrapper
              |
              +--org.edg.security.authorization.RequestWrapper
                    |
                    +--org.edg.security.authorization.XSQLRequestWrapper
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest

public class XSQLRequestWrapper
extends RequestWrapper

Subclass of the abstract RequestWrapper. Allows the passing of the database connection parameter via the getParameter method that is used by the Oracle XSQL Servlet.

Version:
$Id: XSQLRequestWrapper.java,v 1.4 2002/09/05 11:44:44 nkarlsso Exp $
Author:
Niklas Karlsson HIP

Field Summary
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
XSQLRequestWrapper(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 java.lang.String getParameter(java.lang.String name)
          Returns getParameter(String name) on the wrapped request object
 boolean initWrapper(Config configurator)
           
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Constructor Detail

XSQLRequestWrapper

public XSQLRequestWrapper(javax.servlet.http.HttpServletRequest request)
Method Detail

initWrapper

public boolean initWrapper(Config configurator)
Specified by:
initWrapper in class RequestWrapper

getParameter

public java.lang.String getParameter(java.lang.String name)
Returns getParameter(String name) on the wrapped request object

Specified by:
getParameter in interface javax.servlet.ServletRequest
Overrides:
getParameter in class javax.servlet.ServletRequestWrapper
Parameters:
name - the parameter name
Returns:
the value of the parameter