public class ReportServletUtils
extends java.lang.Object
Constructor and Description |
---|
ReportServletUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
authenticate(javax.servlet.http.HttpServletRequest request,
java.lang.String mxToken,
java.lang.String userId,
java.lang.String tenantCode)
Authenticate the request.
|
static boolean |
authenticate(javax.servlet.http.HttpServletRequest request,
java.lang.String mxToken,
java.lang.String userId,
java.lang.String tenantCode,
boolean isDirectPrint)
Authenticate the request.
|
static void |
encodeForSecureAttachment(java.util.Vector attVec,
java.util.Vector securedAttachFlags,
WebClientSession clientSession) |
static boolean |
isAuthenticatedSession(javax.servlet.http.HttpServletRequest request) |
public static boolean authenticate(javax.servlet.http.HttpServletRequest request, java.lang.String mxToken, java.lang.String userId, java.lang.String tenantCode)
request
- the http requestmxToken
- mxtokenuserId
- useridtenantCode
- tenantCodepublic static boolean authenticate(javax.servlet.http.HttpServletRequest request, java.lang.String mxToken, java.lang.String userId, java.lang.String tenantCode, boolean isDirectPrint)
request
- the http requestmxToken
- mxtokenuserId
- useridtenantCode
- tenantCodeisDirectPrint
- is direct printpublic static boolean isAuthenticatedSession(javax.servlet.http.HttpServletRequest request)
public static void encodeForSecureAttachment(java.util.Vector attVec, java.util.Vector securedAttachFlags, WebClientSession clientSession) throws MXException, java.rmi.RemoteException
attVec
- The vector to be encrypted for secured attachmentsecuredAttachFlags
- This tells if a corresponding element in attVec has to be encrypted. If this is null then all elements are encrypted.clientSession
- WebClientSessionMXException
java.rmi.RemoteException