Integration Oracle Fusion Middleware Online Documentation Library

12-4 Oracle Fusion Middleware Developers Guide for Oracle Adaptive Access Manager RuntimeActionParamValue caseSeverityParamValue = new RuntimeActionParamValue; caseSeverityParamValue.setIntValue1; RuntimeActionParamValue caseDescriptionParamValue = new RuntimeActionParamValue; caseDescriptionParamValue.setStringValueTesting CaseCreation Action; ActionContext Map for passing data tofrom the dynamic action execution Map actionContextMap = new HashMap; Execute the action try { caseCreationAction.executerequestId, requestTime, ruleContextMap, rulesResult, actionParamValueMap, actionContextMap; }catchException e { Assert.failException occurred while executing dynamic action; logger.errorException occcurred while executing dynamic action, e; } Write appropriate asserts to check if the configurable action has executed properly } public void tearDown throws Exception { } } 13 Device Registration 13-1 13 Device Registration Device registration allows a user to flag the computer, PDA, mobile phone, or other devices he is logging in with as a safe device. The device is added to the users profile as a registered device. Enabling Device Registration in Native Integration In native integration, to enable device registration: 1. Set bharosa.tracker.send.devideId to true, so the device ID can be captured. 2. Call these APIs directly: ■ handleTrackerRequest ■ updateLog ■ markDeviceSafe ■ IsDeviceMarkedSafe ■ clearSafeDeviceList ■ processRules Enabling Device Registration Out-of-the-Box In Oracle Adaptive Access Manager out-of-the-box, to enable device registration for all applications: 1. Add the following properties to bharosa_server.properties: Adds device registration to the challenge question registration page bharosa.uio.default.register.questions.registerdevice.enabled=true Adds device registration to the Contact Information registration page bharosa.uio.default.register.userinfo.registerdevice.enabled=true Enables device registration bharosa.uio.default.registerdevice.enabled=true Enables user to be able to unregister current device in user preferences bharosa.uio.default.userpreferences.unregister.this.enabled=true Enables user to be able to unregister all devices in user preferences bharosa.uio.default.userpreferences.unregister.all.enabled=true To enable the features on an application-specific bases, default can be replaced with the appropriate appId in each of the prior property names.