Skip navigation links
com.bharosa.vcrypt.common.util
Class VCryptServletUtil
java.lang.Object
com.bharosa.vcrypt.common.util.VCryptServletUtil
-
public class VCryptServletUtil
- extends java.lang.Object
This utility class provides a set of methods which provide an easy way to implement the Bharosa Authenticator api. It requires all needed information to be accessible from the session and request variables except that information which is passed to the method.
Method Summary |
static java.lang.Object[] |
getBrowserFingerPrint(HttpServletRequest request)
|
static java.lang.String |
getBrowserFingerPrint(java.lang.String uas, java.lang.String language, java.lang.String country, java.lang.String variant)
|
static java.lang.Object[] |
getFlashFingerPrint(HttpServletRequest request)
|
static java.lang.String |
getFlashFingerPrint(java.lang.String client, java.lang.String fpStr)
|
static java.lang.String |
getRemoteIP(HttpServletRequest request)
|
static java.lang.String |
getRequestId(HttpServletRequest request)
|
static VCryptCommon |
getVCryptCommon(HttpSession session)
Returns a VCryptCommon session |
static java.util.TreeMap |
parseQueryString(java.lang.String query)
|
static void |
resetSession(HttpSession session)
This methods removes all the states stored in the HTTP session object. |
static void |
setRequestId(HttpServletRequest request, java.lang.String requestId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_USER_AGENT
public static final java.lang.String HTTP_USER_AGENT
-
- See Also:
- Constant Field Values
LOCAL_LANG
public static final java.lang.String LOCAL_LANG
-
- See Also:
- Constant Field Values
LOCAL_COUNTRY
public static final java.lang.String LOCAL_COUNTRY
-
- See Also:
- Constant Field Values
LOCAL_VARIANT
public static final java.lang.String LOCAL_VARIANT
-
- See Also:
- Constant Field Values
browserFPType
public static java.lang.Integer browserFPType
digitalFPType
public static java.lang.Integer digitalFPType
VCryptServletUtil
public VCryptServletUtil()
resetSession
public static void resetSession(HttpSession session)
- This methods removes all the states stored in the HTTP session object.
-
- Parameters:
session
- HttpSession object to reset
getVCryptCommon
public static VCryptCommon getVCryptCommon(HttpSession session)
- Returns a VCryptCommon session
-
- Parameters:
session
- an HttpSession object
- Returns:
- VCryptCommon session object
setRequestId
public static void setRequestId(HttpServletRequest request,
java.lang.String requestId)
getRequestId
public static java.lang.String getRequestId(HttpServletRequest request)
getBrowserFingerPrint
public static java.lang.String getBrowserFingerPrint(java.lang.String uas,
java.lang.String language,
java.lang.String country,
java.lang.String variant)
getBrowserFingerPrint
public static java.lang.Object[] getBrowserFingerPrint(HttpServletRequest request)
getFlashFingerPrint
public static java.lang.String getFlashFingerPrint(java.lang.String client,
java.lang.String fpStr)
getFlashFingerPrint
public static java.lang.Object[] getFlashFingerPrint(HttpServletRequest request)
parseQueryString
public static java.util.TreeMap parseQueryString(java.lang.String query)
getRemoteIP
public static java.lang.String getRemoteIP(HttpServletRequest request)
Skip navigation links
Copyright © 2011, Oracle. All rights reserved.