zeta.handler
Class ApproveHandler
java.lang.Object
|
+--zeta.handler.ApproveHandler
- All Implemented Interfaces:
- GetHandler
- public class ApproveHandler
- extends java.lang.Object
- implements GetHandler
Handles a GET request to approve a change request.
|
Method Summary |
(package private) static java.lang.String |
approve(ZetaServlet servlet,
java.sql.Statement stmt,
java.lang.String key,
java.lang.String keyLength)
|
static java.lang.String |
decrypt(ZetaServlet servlet,
java.sql.Statement stmt,
java.lang.String key,
java.lang.String keyLength)
|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handles a GET request to approve a change request.
|
static java.lang.String |
generateAddressToApprove(ZetaServlet servlet,
java.lang.String text)
Encrypts a specified text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
servlet
private ZetaServlet servlet
- Servlet which owns this handler.
ApproveHandler
public ApproveHandler(ZetaServlet servlet)
- Parameters:
servlet - servlet which owns this handler.
doGet
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Handles a GET request to approve a change request.
The request
req must contains the following parameters:
key - key of the change request.
The response resp contains the approve status.
- Specified by:
doGet in interface GetHandler
javax.servlet.ServletException
java.io.IOException
generateAddressToApprove
public static java.lang.String generateAddressToApprove(ZetaServlet servlet,
java.lang.String text)
throws java.sql.SQLException,
java.io.IOException,
javax.servlet.ServletException
- Encrypts a specified text.
- Parameters:
text - text to encrypt
- Returns:
- encrypted text
- Throws:
java.sql.SQLException - if a database access error occurs.
java.io.IOException - if an I/O error occurs.
javax.servlet.ServletException
decrypt
public static java.lang.String decrypt(ZetaServlet servlet,
java.sql.Statement stmt,
java.lang.String key,
java.lang.String keyLength)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
approve
static java.lang.String approve(ZetaServlet servlet,
java.sql.Statement stmt,
java.lang.String key,
java.lang.String keyLength)
throws java.io.IOException,
java.sql.SQLException
java.io.IOException
java.sql.SQLException
For further technical papers, see ZetaGrid Technical Documentation.
Copyright © 2001,2002 Sebastian Wedeniwski. All Rights Reserved.