Overriding Existing User-Defined Enums

9-2 Oracle Fusion Middleware Developers Guide for Oracle Adaptive Access Manager The following example shows the definition for the password page, as defined in tiles-defs.xml: definition name=password extends=bharosa.uio.baseLayout put name=body value=password.jsp definition At run time the password page dynamically displays all necessary GUI elements for the user to enter the required credential. The following example shows the definition of a custom password page that can be added to tiles-def-extension.xml: definition name=password extends=bharosa.uio.baseLayout put name=body value=customPassword.jsp definition If the definition is added to the tiles-def-extension file, the new customPassword.jsp is used when the OAAM Server attempts to display the password page.

9.4 Overriding Struts Definitions

Similar to overriding JSP content files, the struts action classes and their mappings could be overridden. The following example shows the definition for the login action, as defined in struts-config.xml: action path=login type=com.bharosa.uio.actions.LoginAction forward name=success path=updateLoginStatus.do redirect=true forward name=loginJump path=loginJumpPage.jsp redirect=true forward name=password path=password forward name=challenge path=challengeUser.do redirect=true action The following example shows the possible values you could override for the login action by using struts-config.xml: action path=login type=com.bharosa.uio.actions.CustomLoginAction forward name=success path=updateLoginStatus.do redirect=true forward name=loginJump path=customLoginJumpPage.jsp redirect=true forward name=password path=password forward name=challenge path=customChallengeUser.do redirect=true action

9.5 Interface Page Configuration File

The user interface pages are constructed using the Tiles component of the Struts Framework.

9.5.1 Rendering the Page

The following example extends the baseLayout definition and uses a JSP named registerQuestionsHTML.jsp to render the content tile. It renders content appropriate for the JSP named registerQuestionsHTML.jsp: