Integrating UMS Configuring OTP

11-8 Oracle Fusion Middleware Developers Guide for Oracle Adaptive Access Manager

11.6.2 Customizing Terms and Conditions

The following examples show term and conditions definitions for the OTP registration page. Add Terms and Conditions Definitions to bharosa_server.properties These properties should be added to bharosa_server.properties. Add Terms and Conditions Definitions to client_resource.properties Default messaging for Terms and Conditions is defined by these resource bundle values: Table 11–8 Terms and Conditions Checkbox Property Default Value Description bharosa.uio.default.userinfo.inputs.enum.terms 4 Terms and Conditions enum value bharosa.uio.default.userinfo.inputs.enum.terms.name Terms and Conditions Name for Terms and Conditions checkbox bharosa.uio.default.userinfo.inputs.enum.terms.description Terms and Conditions Description for Terms and Conditions checkbox bharosa.uio.default.userinfo.inputs.enum.terms.inputname terms HTML input name for Terms and Conditions checkbox bharosa.uio.default.userinfo.inputs.enum.terms.inputtype checkbox HTML input type for Terms and Conditions checkbox bharosa.uio.default.userinfo.inputs.enum.terms.values true Required values for Term and Conditions checkbox during registration and user preferences bharosa.uio.default.userinfo.inputs.enum.terms.maxlength 40 HTML input max length for Terms and Conditions checkbox bharosa.uio.default.userinfo.inputs.enum.terms.required true Required flag for Term and Conditions checkbox during registration and user preferences bharosa.uio.default.userinfo.inputs.enum.terms.order 5 Order on the page for Terms and Conditions checkbox bharosa.uio.default.userinfo.inputs.enum.terms.enabled true Enabled flag for Terms and Conditions enum item bharosa.uio.default.userinfo.inputs.enum.terms.regex .+ Regular expression for validation of Terms and Conditions checkbox bharosa.uio.default.userinfo.inputs.enum.terms.errorCode otp.invalid.terms Error code to get error message from if validation of Terms and Conditions fails bharosa.uio.default.userinfo.inputs.enum.terms.managerClass com.bharosa.uio.manager. user.DefaultContactInfoMa nager Java class to use to save retrieve Terms and Conditions from data storage Implementing OTP Anywhere 11-9 The value for bharosa.uio.default.userinfo.inputs.enum.terms.name includes placeholder links that use OAAM Server popup messaging for Terms Conditions and Privacy Policy. The property and resource keys for the contents of the pop-ups are listed as follows.

11.6.3 Customizing Registration Page Messaging

Add registration properties to client_resource.properties. Decline Button To control the presence of the Decline button on the profile registration pages, set the following properties: bharosa.uio.default.register.userinfo.decline.enabled = true Table 11–9 Messaging of Terms and Conditions Property Descriptions bharosa.uio.default.userinfo.inputs.enum.terms.name I agree to the [ENTER COMPANY OR SERVICE NAME HERE] terms conditions. Click to view full a href=javascript:infoWindowterms;Terms Conditionsa and a href=javascript:infoWindowprivacy;Privacy Policya. bharosa.uio.default.userinfo.inputs.enum.terms.description Message and Data Rates May Apply. brFor help or information on this program send HELP to [ENTER SHORTLONG CODE HERE]. brTo cancel your plan, send STOP to [ENTER SHORTLONG CODE HERE] at anytime.brbrFor additional information on this service please go to a href= target=_blank[ENTER INFORMATIONAL URL HERE]a.brbrbSupported Carriers:bbrATT, Sprint, Nextel, Boost, Verizon Wireless, U.S. Cellularreg;, T-Mobilereg;, Cellular One Dobson, Cincinnati Bell, Alltel, Virgin Mobile USA, Cellular South, Unicel, Centennial and Ntelos Table 11–10 Terms Conditions and Privacy Policy Popup Messaging Property Descriptions bharosa.uio.default.messages.enum.terms.name Terms and Conditions bharosa.uio.default.messages.enum.terms.description PLACEHOLDER TEXT FOR TERMS AND CONDITIONS bharosa.uio.default.messages.enum.privacy.name Privacy Policy bharosa.uio.default.messages.enum.privacy.description PLACEHOLDER TEXT FOR PRIVACY POLICY Table 11–11 Registration Resource Bundle Property Default Value bharosa.uio.default.register.userinfo.title OTP Anywhere Registration bharosa.uio.default.register.userinfo.message For your protection please enter your mobile telephone number so we may use it to verify your identity in the future. Please ensure that you have text messaging enabled on your phone. bharosa.uio.default.register.userinfo.registerdevice.message Check to register the device that you are currently using as a safe device: bharosa.uio.default.register.userinfo.continue.button Continue bharosa.uio.default.register.userinfo.decline.message If you decline you will not be asked to register again. bharosa.uio.default.register.userinfo.decline.button Decline