Skip navigation links
com.bharosa.vcrypt.common.util
Class VCryptServletUtil
java.lang.Object
com.bharosa.vcrypt.common.util.VCryptServletUtil
-
public class VCryptServletUtil
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_USER_AGENT
public static final String HTTP_USER_AGENT
-
- See Also:
- Constant Field Values
LOCAL_LANG
public static final String LOCAL_LANG
-
- See Also:
- Constant Field Values
LOCAL_COUNTRY
public static final String LOCAL_COUNTRY
-
- See Also:
- Constant Field Values
LOCAL_VARIANT
public static final String LOCAL_VARIANT
-
- See Also:
- Constant Field Values
browserFPType
public static Integer browserFPType
digitalFPType
public static Integer digitalFPType
javascriptFPType
public static Integer javascriptFPType
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,
String requestId)
getRequestId
public static String getRequestId(HttpServletRequest request)
getBrowserFingerPrint
public static String getBrowserFingerPrint(String uas,
String language,
String country,
String variant)
getBrowserFingerPrint
public static Object[] getBrowserFingerPrint(HttpServletRequest request)
getFlashFingerPrint
public static String getFlashFingerPrint(String client,
String fpStr)
- Method returns null if client is null or fpStr is invalid.
-
- Parameters:
client
-
fpStr
-
- Returns:
getFlashFingerPrint
public static Object[] getFlashFingerPrint(HttpServletRequest request)
parseQueryString
public static TreeMap parseQueryString(String query)
getRemoteIP
public static String getRemoteIP(HttpServletRequest request)
Skip navigation links
Copyright © 2007, 2013, Oracle and/or its affiliates. All rights reserved.