Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Adaptive Access Manager
Release 11g (11.1.1)

E15864-02


com.bharosa.vcrypt.servlet.tracker
Class VCryptServletTrackerUtil

java.lang.Object
  extended by com.bharosa.vcrypt.servlet.tracker.VCryptServletTrackerUtil


public class VCryptServletTrackerUtil
extends java.lang.Object

This contains the utility methods for tracker operations, which can be called from jsp pages or servlets.


Constructor Summary
VCryptServletTrackerUtil()
           

 

Method Summary
static boolean clearSafeDeviceList(HttpServletRequest request)
           
static java.lang.String getFlashCookie(HttpServletRequest request)
           
static java.lang.String getFlashData(HttpServletRequest request)
           
static VCryptRulesEngine getRulesEngineInterface()
          This method returns the VCryptRulesEngine interface.
static java.lang.String getSecureCookie(HttpServletRequest request)
           
static VCryptTracker getTrackerInterface()
          This method returns the Tracker interface.
static VCryptTracker getTrackerInterface(HttpServletRequest request)
          This method returns the Tracker interface.
static java.lang.String handleFingerPrintCall(HttpServletRequest request, HttpServletResponse response)
           
static java.lang.String handleFingerPrintDevice(HttpServletRequest request, HttpServletResponse response)
           
static CookieSet handleTrackerRequest(HttpServletRequest request, java.lang.String secureCookie, int secureClientType, java.lang.String secureClientVersion, java.lang.String digitalSigCookie, int digitalClientType, java.lang.String digitalClientVersion)
          Describe handleTrackerRequest method here.
static boolean isDeviceMarkedSafe(HttpServletRequest request)
           
static boolean markDeviceSafe(HttpServletRequest request, boolean isSafe)
           
static VCryptRulesResult runPostAuthRules(HttpServletRequest request)
          This method runs the rule set specified for the user attempting to log in.
static VCryptRulesResult runPreAuthRules(HttpServletRequest request)
          This method runs the rule set specified for the user attempting to log in.
static VCryptRulesResult runRules(HttpServletRequest request, java.lang.String[] profileType)
          This method runs the rules for the given profile type (will be runtime)

This can support all types rules, including in session rules.

static VCryptRulesResult runRuleSets(java.lang.String requestId, java.util.List profileTypes)
           
static VCryptRulesResult runRuleSets(java.lang.String requestId, java.util.List profileTypes, java.util.Map contextMap)
           
static void updateAuthResult(HttpServletRequest request, HttpServletResponse response, java.lang.String userId, java.lang.String loginId, boolean isSecure, int result, int clientType, java.lang.String clientVersion)
          This method updates the tracker log with the authentication result.
static void updateAuthResult(HttpServletRequest request, HttpServletResponse response, java.lang.String groupId, java.lang.String userId, java.lang.String loginId, boolean isSecure, int result, int clientType, java.lang.String clientVersion)
          This method updates the tracker log with the authentication result.
static void updateAuthStatus(HttpServletRequest request, int result, int clientType, java.lang.String clientVersion)
           
static void updateSecureCookie(HttpServletResponse response, CookieSet cookieSet)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

VCryptServletTrackerUtil

public VCryptServletTrackerUtil()

Method Detail

getTrackerInterface

public static VCryptTracker getTrackerInterface(HttpServletRequest request)
This method returns the Tracker interface.

getTrackerInterface

public static VCryptTracker getTrackerInterface()
This method returns the Tracker interface.

getRulesEngineInterface

public static VCryptRulesEngine getRulesEngineInterface()
This method returns the VCryptRulesEngine interface.

handleFingerPrintCall

public static java.lang.String handleFingerPrintCall(HttpServletRequest request,
                                                     HttpServletResponse response)

handleFingerPrintDevice

public static java.lang.String handleFingerPrintDevice(HttpServletRequest request,
                                                       HttpServletResponse response)

getFlashData

public static java.lang.String getFlashData(HttpServletRequest request)

getFlashCookie

public static java.lang.String getFlashCookie(HttpServletRequest request)

getSecureCookie

public static java.lang.String getSecureCookie(HttpServletRequest request)

updateSecureCookie

public static void updateSecureCookie(HttpServletResponse response,
                                      CookieSet cookieSet)

handleTrackerRequest

public static CookieSet handleTrackerRequest(HttpServletRequest request,
                                             java.lang.String secureCookie,
                                             int secureClientType,
                                             java.lang.String secureClientVersion,
                                             java.lang.String digitalSigCookie,
                                             int digitalClientType,
                                             java.lang.String digitalClientVersion)
Describe handleTrackerRequest method here.
Parameters:
request - a HttpServletRequest value
secureCookie - The secure cookie
secureClientType - secure cookie client type
secureClientVersion - version of the secure cookie client
digitalSigCookie - The digital signature cookie
digitalClientType - digital cookie client type
digitalClientVersion - version of the digital cookie client
Returns:
a CookieSet value

updateAuthStatus

public static void updateAuthStatus(HttpServletRequest request,
                                    int result,
                                    int clientType,
                                    java.lang.String clientVersion)

updateAuthResult

public static void updateAuthResult(HttpServletRequest request,
                                    HttpServletResponse response,
                                    java.lang.String userId,
                                    java.lang.String loginId,
                                    boolean isSecure,
                                    int result,
                                    int clientType,
                                    java.lang.String clientVersion)
This method updates the tracker log with the authentication result.
Parameters:
request - Servlet request
response - a HttpServletResponse value
userId - The userId used by the system.
loginId - The loginId of the user
isSecure - whether this node is secure and can be registered
result - The result of the authentication
clientType - an int value
clientVersion - a String value

updateAuthResult

public static void updateAuthResult(HttpServletRequest request,
                                    HttpServletResponse response,
                                    java.lang.String groupId,
                                    java.lang.String userId,
                                    java.lang.String loginId,
                                    boolean isSecure,
                                    int result,
                                    int clientType,
                                    java.lang.String clientVersion)
This method updates the tracker log with the authentication result.
Parameters:
request - Servlet request
groupId - The group Id of the user
userId - The userId used by the system.
loginId - The loginId of the user
isSecure - whether this node is secure and can be registered
result - The result of the authentication

markDeviceSafe

public static boolean markDeviceSafe(HttpServletRequest request,
                                     boolean isSafe)

clearSafeDeviceList

public static boolean clearSafeDeviceList(HttpServletRequest request)

isDeviceMarkedSafe

public static boolean isDeviceMarkedSafe(HttpServletRequest request)

runPreAuthRules

public static VCryptRulesResult runPreAuthRules(HttpServletRequest request)
This method runs the rule set specified for the user attempting to log in. It is intended to be placed pre-authentication.
Returns:
a VCryptRulesResult object containing all actions and alerts that were activated

runPostAuthRules

public static VCryptRulesResult runPostAuthRules(HttpServletRequest request)
This method runs the rule set specified for the user attempting to log in. It is intended to be placed post-authentication.
Returns:
a VCryptRulesResult object containing all actions and alerts that were activated

runRules

public static VCryptRulesResult runRules(HttpServletRequest request,
                                         java.lang.String[] profileType)
This method runs the rules for the given profile type (will be runtime)

This can support all types rules, including in session rules. Creates context map (key-value) based on request parameters. Mostly in session rules operate on the context map.

Returns:
a VCryptRulesResult object containing all actions and alerts that were activated
Since:
3.0

runRuleSets

public static VCryptRulesResult runRuleSets(java.lang.String requestId,
                                            java.util.List profileTypes)

runRuleSets

public static VCryptRulesResult runRuleSets(java.lang.String requestId,
                                            java.util.List profileTypes,
                                            java.util.Map contextMap)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Adaptive Access Manager
Release 11g (11.1.1)

E15864-02


Copyright © 2011, Oracle. All rights reserved.