readme.html
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2005 Sun Microsystems Inc. All Rights Reserved
The contents of this file are subject to the terms
of the Common Development and Distribution License
(the License). You may not use this file except in
compliance with the License.
You can obtain a copy of the License at
https://opensso.dev.java.net/public/CDDLv1.0.html or
opensso/legal/CDDLv1.0.txt
See the License for the specific language governing
permission and limitations under the License.
When distributing Covered Code, include this CDDL
Header Notice in each file and include the License file
at opensso/legal/CDDLv1.0.txt.
If applicable, add the following below the CDDL Header,
with the fields enclosed by brackets [] replaced by
your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"
$Id: readme.html,v 1.2 2008/06/25 05:44:34 qcheng Exp $
-->
Readme
Readme.html
Instructions on how to write authentication module specific JSP templates
as required in the module properties XML file.
After you copy the 'module_template.jsp (sample JSP file) from
/<dsame_install_dir>/SUNWam/web-apps/services/config/auth/default to write your own module specific
template JSP, you need to do following things :
1) Change <%@page info="Module Template Page".... to give your template
specific page name.
2) Change <TITLE>Module Template Page</TITLE>.... to display your template specific title.
3) Change 'charset' to the appropriate one in <%@ page contentType="text/html; charset=ISO-8859-1" %>
In
<td>
<p><B>Your static message goes here...</B></p>
<p><a href="/amserver/UI/Login?Login.Href=10345"><%=
viewBean.rb.getString("gotoLoginAfterFail") %></a></p>
<p>
<input type="submit" name="Login.ButtonLogin" value="<%=
viewBean.rb.getString("<your button1>") %>">
<input type="submit" name="Login.ButtonLogin" value="<%=
viewBean.rb.getString("<your button2>") %>">
<input type="submit" name="Login.ButtonLogin" value="<%=
viewBean.rb.getString("<your buttonN>") %>">
</p>
</td>
block,
4) Change "Your static message goes here..." to display your template specific message.
5) Keep <p>.... href......</p> if you need as it is or remove it.
6) Keep <p>.... buttons......</p> if you need or remove it.
7) Change "<your button1...N>" strings with your button value localized keys
from the '/<dsame_install_dir>/SUNWam/locale/en_US/amAuthUI.properties' file ( first add all those required
'keys' and 'values' in this file ).