TextPad Visual Elements Frame Design and Element Positioning

10-12 Oracle Fusion Middleware Developers Guide for Oracle Adaptive Access Manager Visible Text Input or Password Non-Visible Input Setting The following property in client_resource_locale.properties determines whether the QuestionPad is set for visible text input or password non-visible input. bharosa.authentipad.questionpad.datafield.input.type Valid values are text and password.

10.5.6.6 KeyPad Visual Elements

This section provides information on the visual elements of KeyPad. Phrase Caption bharosa.authentipad.keypad.caption.personalize = true bharosa.authentipad.keypad.caption.x = 240 bharosa.authentipad.keypad.caption.y = 206 bharosa.authentipad.keypad.caption.frame = false bharosa.authentipad.keypad.caption.wrap = false bharosa.authentipad.keypad.caption.width = 130 bharosa.authentipad.keypad.caption.height = 16 bharosa.authentipad.keypad.caption.font.name = Arial bharosa.authentipad.keypad.caption.font.color = 000000 bharosa.authentipad.keypad.caption.font.type= 0 bharosa.authentipad.keypad.caption.font.size = 9 Timestamp bharosa.authentipad.keypad.timestamp.x = 110 bharosa.authentipad.keypad.timestamp.y = 202 bharosa.authentipad.keypad.timestamp.width = 132 bharosa.authentipad.keypad.timestamp.height = 16 bharosa.authentipad.keypad.timestamp.frame = false bharosa.authentipad.keypad.timestamp.wrap = false bharosa.authentipad.keypad.timestamp.font.name = Arial bharosa.authentipad.keypad.timestamp.font.color = ffffff bharosa.authentipad.keypad.timestamp.font.type= 0 bharosa.authentipad.keypad.timestamp.font.size = 9 Enter Key Hotspot bharosa.authentipad.keypad.enterkey.x=292 bharosa.authentipad.keypad.enterkey.y=8 bharosa.authentipad.keypad.enterkey.width=50 bharosa.authentipad.keypad.enterkey.height=20 bharosa.authentipad.keypad.enterkey.label=enter bharosa.authentipad.keypad.enterkey.enable=true Backspace Key Hotspot bharosa.authentipad.keypad.backspace.x=164 bharosa.authentipad.keypad.backspace.y=8 bharosa.authentipad.keypad.backspace.width=20 bharosa.authentipad.keypad.backspace.height=20 bharosa.authentipad.keypad.backspace.enable=true Caps States bharosa.authentipad.keypad.capslock.x=188 bharosa.authentipad.keypad.capslock.y=0 bharosa.authentipad.keypad.capslock.width=43 bharosa.authentipad.keypad.capslock.height=29 bharosa.authentipad.keypad.capslock.capsonimg=kp_v2_all_caps.jpg Using Virtual Authentication Devices 10-13 bharosa.authentipad.keypad.capslock.capsshiftimg=kp_v2_first_caps.jpg

10.5.7 Customization Steps

The process is as follows: 1. Add virtual authentication device related properties and custom KeySet related enum properties to bharosa_server.properties and save it in the temp-folderWEB-INFclasses folder. Refer to the rest of the chapter for more information on defining keysets and other virtual authentication device properties. 2. Add key image files to temp-folderWEB-INFclassesbharosa_ propertiespad_skins. 3. Add Frame Image Files: temp-folderWEB-INFclassesbharosa_ propertiespad_bg. 4. Create OAAM Extensions Shared Library using bharosa_server.properties. 5. Deploy the custom OAAM Extensions Shared Library into both the OAAM Managed Servers OAAM Admin and OAAM Server. a. Re-Jar the war using the command: jar -cvfm oracle.oaam.extensions.war temp-folderMETA-INFMANIFEST.MF -C temp-folder

b. Re-deploy the updated oracle.oaam.extensions.war as a shared library

with targets as oaam_server and oaam_admin.

6. Restart OAAM Servers and validate your changes by accessing application.

10.6 Displaying Virtual Authentication Devices

This section describes the flow to render virtual authentication devices. It contains the following topics: ■ Setting Up Before Calling the getpad type Method ■ Getting the AuthentiPads ■ Setting Properties After Getting Authentipad Object ■ Displaying Virtual Authentication Devices

10.6.1 Setting Up Before Calling the getpad type Method

In order to get the bgFile, you need to obtain it from the user by performing: String bgFile = String authUser.getSecurityPreferences.getimagePath;

10.6.2 Getting the AuthentiPads

The main API that handles authentipad generation is BharosaClientImpl.getInstance.getpad type. Note: Make sure original MANIFEST.MF remains same as that contains shared library information.