Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

sosc::Commworx Class Reference

List of all members.

Public Methods

 Commworx (HttpServletRequest request, HttpServletResponse response, JspWriter out)
boolean simpleAuth (String[] users) throws Exception

Public Attributes

final HttpServletRequest request
final HttpServletResponse response
final JspWriter out

Constructor & Destructor Documentation

sosc::Commworx::Commworx HttpServletRequest    request,
HttpServletResponse    response,
JspWriter    out
[inline]
 

Definition at line 36 of file Commworx.java.

References sosc::Commworx::out, sosc::Commworx::request, and sosc::Commworx::response.


Member Function Documentation

boolean sosc::Commworx::simpleAuth String    users[] throws Exception [inline]
 

Checks the commworx session table to verify that only the specified users can see this. Throws an exception (TODO: provide something better than 'Exception') if the user should not see this.

Returns true if the user is a member of users[]. Never returns false because it throws an exception instead.

Definition at line 50 of file Commworx.java.

References sosc::DbTool::query(), and sosc::Commworx::request.


Member Data Documentation

final JspWriter sosc::Commworx::out
 

Definition at line 34 of file Commworx.java.

Referenced by sosc::Commworx::Commworx().

final HttpServletRequest sosc::Commworx::request
 

Definition at line 32 of file Commworx.java.

Referenced by sosc::Commworx::Commworx(), and sosc::Commworx::simpleAuth().

final HttpServletResponse sosc::Commworx::response
 

Definition at line 33 of file Commworx.java.

Referenced by sosc::Commworx::Commworx().


The documentation for this class was generated from the following file:
Generated on Mon Jul 14 17:19:21 2003 for SOSC by doxygen1.2.15