SMPP Driver Configure the UMS Driver

11-6 Oracle Fusion Middleware Developers Guide for Oracle Adaptive Access Manager After you set up the UMS server properties, restart the application.

11.5.2 Enabling OTP Challenge Types

Enable challenge types by setting the appropriate property to true. By setting the property to true, policies will be able to challenge using OTP via the challenge type email, SMS, IM, or Voice. The user will see the email, SMS, IM, or Voice page in registration flow. The challenge type enum is used to associate a Challenge Type with the java code needed to perform any work related to that challenge type. The Challenge Type ID ChallengeEmail should match a rule action returned by the rules when that challenge type is going to be used.

11.5.3 Enabling Registration and User Preferences

Enable the registration flow and user preferences by setting these properties to true:

11.6 Customizing OTP

This section contains the following topics: ■ Customizing Registration Fields and Validations bharosa.uio.default.ums.integration.message.status.poll.delay 1000 Delay between status polls while the wait page is being displayed bharosa.uio.default.ums.integration.sleepInterval 10000 bharosa.uio.default.ums.integration.deliveryPage.delay 3000 Table 11–4 UMS OTP challenge types Property Default Value Description bharosa.uio.default.challenge.type.enum.ChallengeEmail.available false Availability flag for email challenge type bharosa.uio.default.challenge.type.enum.ChallengeSMS.available false Availability flag for SMS challenge type bharosa.uio.default.challenge.type.enum.ChallengeIM.available false Availability flag for instant message challenge type bharosa.uio.default.challenge.type.enum.ChallengeVoice.available false Availability flag for voice challenge type Table 11–5 Enable OTP Profile Registration and Preference Setting Property Description bharosa.uio.default.register.userinfo.enabled Setting the property to true enables the profile registration pages if the OTP channel is enabled and requires registration. bharosa.uio.default.userpreferences.userinfo.enabled Setting the property to true enables the user to set preferences if the OTP channel is enabled and allows preference setting. User Preferences is a page that allows the user to change their imagephrase, challenge questions, un-register devices, and update their OTP profile. Table 11–3 Cont. UMS Server URLs and Credentials Property Default Value Description Implementing OTP Anywhere 11-7 ■ Customizing Terms and Conditions ■ Customizing Registration Page Messaging ■ Customizing Challenge Page Messaging ■ Customizing OTP Message Text ■ Enabling Opt Out Functionality

11.6.1 Customizing Registration Fields and Validations

Mobile registration field definitions and validations for the OTP registration page are shown below. Add Mobile Input Registration Field Properties to bharosa_server.properties These properties should be added to bharosa_server.properties. Add Mobile Input Registration Field Properties to client_resource.properties These properties should be added to the resource bundle. Table 11–6 Mobile Input - Properties File Property Default Value Description bharosa.uio.default.userinfo.inputs.enum.mobile Mobile phone enum value bharosa.uio.default.userinfo.inputs.enum.mobile.name Mobile Phone Name for mobile phone field bharosa.uio.default.userinfo.inputs.enum.mobile.description Mobile Phone Description for mobile phone field bharosa.uio.default.userinfo.inputs.enum.mobile.inputname cell number HTML input name for mobile phone field bharosa.uio.default.userinfo.inputs.enum.mobile.inputtype text HTML input type for mobile phone field bharosa.uio.default.userinfo.inputs.enum.mobile.maxlength 15 HTML input max length for mobile phone field bharosa.uio.default.userinfo.inputs.enum.mobile.required true Required flag for mobile phone field during registration and user preferences bharosa.uio.default.userinfo.inputs.enum.mobile.order 1 Order on the page for mobile phone field bharosa.uio.default.userinfo.inputs.enum.mobile.enabled true Enabled flag for mobile phone enum item bharosa.uio.default.userinfo.inputs.enum.mobile.regex \\D?\\d{3}\\D?\\D ?\\d{3}\\D?\\d{4} Regular expression for validation of mobile phone field bharosa.uio.default.userinfo.inputs.enum.mobile.errorCode otp.invalid.mobile Error code to get error message from if validation of mobile phone entry fails bharosa.uio.default.userinfo.inputs.enum.mobile.managerClass com.bharosa.uio.mana ger.user.DefaultContac tInfoManager Java class to use to save retrieve mobile phone from data storage Table 11–7 Mobile Input - Resource Bundle Property Default Value Description bharosa.uio.default.userinfo.inputs.enum.mobile.name Mobile Phone Name for mobile phone field bharosa.uio.default.userinfo.inputs.enum.mobile.description Mobile Phone Description for mobile phone field