public class ESignature
extends java.lang.Object
Constructor and Description |
---|
ESignature() |
Modifier and Type | Method and Description |
---|---|
static void |
logSignatureVerification(MboSetRemote msr,
java.lang.String username,
java.lang.String reason,
boolean authenticated)
Logs a signature verification record in MAXIMO database tables
with the appropriate parameters.
|
static boolean |
verifySignature(javax.servlet.http.HttpServletRequest request,
MboSetRemote msr,
java.lang.String username,
java.lang.String password,
java.lang.String reason)
Verifies the user password and logs a record indicating the
result of authentication.
|
public static boolean verifySignature(javax.servlet.http.HttpServletRequest request, MboSetRemote msr, java.lang.String username, java.lang.String password, java.lang.String reason) throws MXException, java.rmi.RemoteException
request
- The HTTP request object.msr
- The business object set that needs to be used.username
- user namepassword
- passwordreason
- a brief description to be logged for the verification.MXException
- if there is any problem in authenticating the userjava.rmi.RemoteException
- if there is any problem in authenticating the user.public static void logSignatureVerification(MboSetRemote msr, java.lang.String username, java.lang.String reason, boolean authenticated) throws MXException, java.rmi.RemoteException
msr
- The business object set that needs to be used.username
- user namereason
- passwordauthenticated
- pass true to indicate authentication is success
otherwise false.MXException
- if there is any problem in logging.java.rmi.RemoteException
- if there is any problem in logging.