You can modify JSP templates and module configuration properties files to reflect branding or functionality specified for any of the following:
Organization of the request
SubOrganization of the request.
Locale of the request
Client Path
Client Type information of the request
Service Name (serviceName)
Go to the directory where default JSP templates are stored.
cd AccessManager-base/SUNWam/web-src/services/config/auth
Create a new directory.
Use the appropriate customized directory path based on the level of customization. Use the following forms:
org_locale/orgPath/filePath org/orgPath/filePath default_locale/orgPath/filePath default/orgPath/filePath |
In these examples,
orgPath represents subOrg1/subOrg2
filePath represents clientPath + serviceName
clientPath represents clientType/sub-clientType
In these paths, SubOrg, Locale, Client Path, Service Name (which represents orgPath and filePath ) are optional. The organization name you specify may match the organization attribute set in the Directory Server. For example, if the organization attribute value is SunMicrosystems, then the organization customized directory should also be SunMicrosystems. If no organization attribute exists, then use the lowercase value of the organization name (sunmicrosystems).
For example, for the following attributes:
org = SunMicrosystems
locale = en
subOrg = solaris
clientPath = html/ customerName/
serviceName = paycheck
customized directory paths would be:
SunMicrosystems_en/solaris/html/ customerName /paycheck
SunMicrosystems/solaris/html/ customerName /paycheck
default_en/solaris/html/ customerName/paycheck
default/solaris/html/ customerName /paycheck
Copy the default templates.
Copy all the JSP templates (*.jsp) and authentication module configuration properties XML files (*.xml) from the default directory:
AccessManager-base /SUNWam/web-src/services/config/auth/default
to the new directory:
AccessManager-base /SUNWam/web-src/services/config/ auth/CustomizedDirectoryPath
Customize the files in the new directory.
The files in the new directory can be customized if necessary, but not this is not required. See Customizing the Login Page and Customizing JSP Templates for information on what you can modify.
Update and redeploy services.war.
Once you’ve modified the authentication GUI files, in order to see the changes in the actual GUI, you must update and then redeploy services.war. See Updating and Redeploying services.war in this chapter for instructions. See Chapter 10, Updating and Redeploying Access Manager WAR Files for general information on updating and redeploying Access Manager .war files.
Restart both Access Manager and the web container server.