|
Oracle Fusion Middleware Java API Reference for Oracle Adaptive Access Manager Release 11g (11.1.1) E15864-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bharosa.vcrypt.servlet.tracker.VCryptServletTrackerUtil
public class VCryptServletTrackerUtil
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 |
---|
public VCryptServletTrackerUtil()
Method Detail |
---|
public static VCryptTracker getTrackerInterface(HttpServletRequest request)
public static VCryptTracker getTrackerInterface()
public static VCryptRulesEngine getRulesEngineInterface()
public static java.lang.String handleFingerPrintCall(HttpServletRequest request, HttpServletResponse response)
public static java.lang.String handleFingerPrintDevice(HttpServletRequest request, HttpServletResponse response)
public static java.lang.String getFlashData(HttpServletRequest request)
public static java.lang.String getFlashCookie(HttpServletRequest request)
public static java.lang.String getSecureCookie(HttpServletRequest request)
public static void updateSecureCookie(HttpServletResponse response, CookieSet cookieSet)
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)
handleTrackerRequest
method here.request
- a HttpServletRequest
valuesecureCookie
- The secure cookiesecureClientType
- secure cookie client typesecureClientVersion
- version of the secure cookie clientdigitalSigCookie
- The digital signature cookiedigitalClientType
- digital cookie client typedigitalClientVersion
- version of the digital cookie clientCookieSet
valuepublic static void updateAuthStatus(HttpServletRequest request, int result, int clientType, java.lang.String clientVersion)
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)
request
- Servlet requestresponse
- a HttpServletResponse
valueuserId
- The userId used by the system.loginId
- The loginId of the userisSecure
- whether this node is secure and can be registeredresult
- The result of the authenticationclientType
- an int
valueclientVersion
- a String
valuepublic 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)
request
- Servlet requestgroupId
- The group Id of the useruserId
- The userId used by the system.loginId
- The loginId of the userisSecure
- whether this node is secure and can be registeredresult
- The result of the authenticationpublic static boolean markDeviceSafe(HttpServletRequest request, boolean isSafe)
public static boolean clearSafeDeviceList(HttpServletRequest request)
public static boolean isDeviceMarkedSafe(HttpServletRequest request)
public static VCryptRulesResult runPreAuthRules(HttpServletRequest request)
public static VCryptRulesResult runPostAuthRules(HttpServletRequest request)
public static VCryptRulesResult runRules(HttpServletRequest request, java.lang.String[] profileType)
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.
public static VCryptRulesResult runRuleSets(java.lang.String requestId, java.util.List profileTypes)
public static VCryptRulesResult runRuleSets(java.lang.String requestId, java.util.List profileTypes, java.util.Map contextMap)
|
Oracle Fusion Middleware Java API Reference for Oracle Adaptive Access Manager Release 11g (11.1.1) E15864-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |