Sun Java System Access Manager 7.1 Developer's Guide

Java Server Pages

All authentication GUI pages are .jsp files with embedded JATO tags. You do not need to understand JATO to customize Access Manager GUI pages. Java server pages handle both the UI elements and the disciplines displayed through peer ViewBeans. By default, JSP pages are installed in the following directory: AccessManager-base/SUNWam/web-src/services/config/auth/default

Java server pages are looked up from the deployed location. In previous Access Manager versions, the Java server pages were looked up from the installed location.

Customizing the Login Page

The Login page is a common Login page used by most authentication modules except for the Membership module. For all other modules, at run time the Login page dynamically displays all necessary GUI elements for the required credentials. For example, the LDAP authentication module Login page dynamically displays the LDAP module header, LDAP User name, and Password fields.

You can customize the following Login page UI elements:

Customizing JSP Templates

Use the JSP templates to customize the look and feel presented in the graphical user interface (GUI). Customizing JSP Templates provides descriptions of templates you can customize. The templates are located in the following directory:

AccessManager-base/SUNWam/web-src/services/config/auth/default

Table 12–2 Customizable JSP Templates

File Name 

Purpose 

account_expired.jsp

Informs the user that their account has expired and should contact the system administrator. 

auth_error_template.jsp

Informs the user when an internal authentication error has occurred. This usually indicates an authentication service configuration issue. 

authException.jsp

Informs the user that an error has occurred during authentication. 

configuration.jsp

Configuration error page that displays during the Self-Registration process. 

disclaimer.jsp

This is a customizable disclaimer page used in the Self-registration authentication module. 

Exception.jsp

Informs the user that an error has occurred. 

invalidAuthlevel.jsp

Informs the user that the authentication level invoked was invalid. 

invalid_domain.jsp

Informs the user that no such domain exists. 

invalidPassword.jsp

Informs the user that the password entered does not contain enough characters. 

invalidPCookieUserid.jsp

Informs the user that a persistent cookie user name does not exist in the persistent cookie domain. 

Login.jsp

This is a Login/Password template. 

login_denied.jsp

Informs the user that no profile has been found in this domain. 

login_failed_template.jsp

Informs the user that authentication has failed. 

Logout.jsp

Informs the user that they have logged out. 

maxSessions.jsp

Informs the user that the maximum sessions have been reached. 

membership.jsp

A login page for the Self-registration module. 

Message.jsp

A generic message template for a general error not defined in one of the other error message pages. 

missingReqField.jsp

Informs the user that a required field has not been completed. 

module_denied.jsp

Informs the user that the user does not have access to the module. 

module_template.jsp

A customizable module page. 

new_org.jsp

This page is displayed when a user with a valid session in one organization wants to login to another organization. 

noConfig.jsp

Informs the user that no module configuration has been defined. 

noConfirmation.jsp

Informs the user that the password confirmation field has not been entered. 

noPassword.jsp

Informs the user that no password has been entered. 

noUserName.jsp

Informs the user that no user name has been entered. It links back to the login page. 

noUserProfile.jsp

Informs the user that no profile has been found. It gives them the option to try again or select New User and links back to the login page. 

org_inactive.jsp

Informs the user that the organization they are attempting to authenticate to is no longer active. 

passwordMismatch.jsp

This page is called when the password and confirming password do not match. 

profileException.jsp

Informs the user that an error has occurred while storing the user profile. 

Redirect.jsp

This page carries a link to a page that has been moved. 

register.jsp

A user self-registration page. 

session_timeout.jsp

Informs the user that their current login session has timed out. 

userDenied.jsp

Informs the user that they do not possess the necessary role (for role-based authentication.) 

userExists.jsp

This page is called if a new user is registering with a user name that already exists. 

user_inactive.jsp

Informs the user that they are not active. 

userPasswordSame.jsp

Called if a new user is registering with a user name field and password field have the same value. 

wrongPassword.jsp

Informs the user that the password entered is invalid.