jrun.servlet.security
Class AuthUtil

java.lang.Object
  |
  +--jrun.servlet.security.AuthUtil

public class AuthUtil
extends java.lang.Object

Methods for authentication, saving/getting user and state, and other misc methods used by multiple classes.

Author:
Brian Deitte

Field Summary
static java.lang.String AUTH_STATE
           
static java.lang.Integer AUTH_STATE_IN_PROGRESS
           
static java.lang.Integer AUTH_STATE_NEW_USER
           
static java.lang.Integer AUTH_STATE_VALID
           
 
Constructor Summary
AuthUtil()
           
 
Method Summary
static java.lang.String getRequestURI(javax.servlet.http.HttpServletRequest request)
           
static java.lang.Integer getState(javax.servlet.http.HttpSession session)
           
static void saveState(javax.servlet.http.HttpSession session, java.lang.Integer state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTH_STATE

public static final java.lang.String AUTH_STATE

AUTH_STATE_NEW_USER

public static final java.lang.Integer AUTH_STATE_NEW_USER

AUTH_STATE_IN_PROGRESS

public static final java.lang.Integer AUTH_STATE_IN_PROGRESS

AUTH_STATE_VALID

public static final java.lang.Integer AUTH_STATE_VALID
Constructor Detail

AuthUtil

public AuthUtil()
Method Detail

saveState

public static void saveState(javax.servlet.http.HttpSession session,
                             java.lang.Integer state)

getState

public static java.lang.Integer getState(javax.servlet.http.HttpSession session)

getRequestURI

public static java.lang.String getRequestURI(javax.servlet.http.HttpServletRequest request)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.