gridbus.gmd.security
Class JSPHandler

java.lang.Object
  |
  +--gridbus.gmd.security.JSPHandler
Direct Known Subclasses:
checksession, Login, Logout

public class JSPHandler
extends java.lang.Object

Title: The Grid Market Directory (GMD) Toolkit Developer: The Gridbus Project The Grid Computing and Distributed Systems (GRIDS) Laboratory The University of Melbourne, Australia URL: http://www.gridbus.org


Field Summary
protected  ServletContext context
           
protected  HttpServletRequest request
           
protected  boolean requiresLoggedIn
           
protected  boolean requiresLoggedOut
           
protected  HttpServletResponse response
           
protected  gridbus.gmd.security.SessionWrapper sw
           
 
Constructor Summary
JSPHandler()
           
 
Method Summary
 boolean forward(java.lang.String url)
          Method forward.
protected  java.lang.String getRequestURI()
          Method getRequestURI.
protected  gridbus.gmd.security.SessionWrapper getSessionWrapper()
          Method getSessionWrapper.
 boolean isLoggedIn()
          Method isLoggedIn.
 boolean isPost()
          Method isPost.
 boolean loginStateInvalid()
          Method loginStateInvalid.
 void process(HttpServletRequest req, HttpServletResponse resp, ServletContext c)
          Method process.
 boolean redirect(java.lang.String url)
          Method redirect.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected HttpServletRequest request

response

protected HttpServletResponse response

context

protected ServletContext context

sw

protected gridbus.gmd.security.SessionWrapper sw

requiresLoggedIn

protected boolean requiresLoggedIn

requiresLoggedOut

protected boolean requiresLoggedOut
Constructor Detail

JSPHandler

public JSPHandler()
Method Detail

process

public void process(HttpServletRequest req,
                    HttpServletResponse resp,
                    ServletContext c)
Method process.

Parameters:
req -
resp -
c -

redirect

public boolean redirect(java.lang.String url)
Method redirect.

Parameters:
url -
Returns:
boolean

forward

public boolean forward(java.lang.String url)
Method forward.

Parameters:
url -
Returns:
boolean

loginStateInvalid

public boolean loginStateInvalid()
Method loginStateInvalid.

Returns:
boolean

isLoggedIn

public boolean isLoggedIn()
Method isLoggedIn.

Returns:
boolean

isPost

public boolean isPost()
Method isPost.

Returns:
boolean

getRequestURI

protected java.lang.String getRequestURI()
Method getRequestURI.

Returns:
String

getSessionWrapper

protected gridbus.gmd.security.SessionWrapper getSessionWrapper()
Method getSessionWrapper.

Returns:
SessionWrapper