Skip to Main Content
Enterprise Business Portals with IBM Tivoli Access Manager
book

Enterprise Business Portals with IBM Tivoli Access Manager

by Axel Buecker, Chris Eric Friell, Armando Lemos, Rick McCarty, Jani Perttila, Dieter Riexinger, Andreas Schmengler
September 2002
Intermediate to advanced content levelIntermediate to advanced
612 pages
15h 30m
English
IBM Redbooks
Content preview from Enterprise Business Portals with IBM Tivoli Access Manager
Chapter 15. Protection of external Web resources 355
Example 15-6 shows an extract of the code with those changes.
Example 15-6 Forms-based authentication and required changes
...
<script language='javascript'>
function submitForm(formValue,form)
{
var username = document.index.username.value;
var pass = document.index.password.value;
if (formValue == 0)
{
if((username == "") || (pass == ""))
{ alert("please enter all fields.");
formValue = 1;
}
else
{ document.index.action="/pkmslogin.form";
document.index.submit();
}
} //end of if form value==0
else
{ document.index.reset();
}
}
function myInputType(frm)
{
var myVal=frm.username; ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

IBM Tivoli Web Access for Information Management

IBM Tivoli Web Access for Information Management

Don Miller, Mimi Michelet, Michael Bacon, Maryann Goldman, Rollin Hippler, Pete Louis, Tom Shultz, Buck Stearns

Publisher Resources

ISBN: 0738425176Purchase book