155 lines
5.9 KiB
HTML
155 lines
5.9 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta name="Copyright" content="Copyright (c) 2004 by IBM Corporation">
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
||
|
<title>Windows Server installation advisor--Service processor authentication</title>
|
||
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
||
|
<script language="Javascript" type="text/javascript" src="../rzahg/iccommon.js"></script>
|
||
|
<script type="text/javascript" language="Javascript">
|
||
|
<!-- // Hide script from older browsers
|
||
|
|
||
|
var errMess = "Enter a valid user name or select to use the default user and password. The characters must be letters (A-Z) or digits (0-9).";
|
||
|
var errMess1 = "Enter a valid password or select to use the default user and password. The characters must be letters (A-Z) or digits (0-9).";
|
||
|
|
||
|
//START NON-TRANSLATABLE
|
||
|
//Obtain name of HTML file in parent frame.
|
||
|
var parentDir = parent.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
||
|
var parentUrl = parent.window.location.href.substring(parentDir.length,parent.window.location.href.length+1);
|
||
|
if (parentUrl.indexOf("#") >= 0) { parentUrl = parentUrl.substring(0,parentUrl.indexOf("#"));}
|
||
|
|
||
|
function checkFrame() {
|
||
|
//Is the hidden frame already loaded with the correct html?
|
||
|
if (parentUrl != "rzahqadvisor1.htm") {
|
||
|
window.location = "rzahqadvisor1.htm"; //load advisor frameset
|
||
|
return;
|
||
|
} else {
|
||
|
//Obtain name of HTML file in hidden frame.
|
||
|
var hiddenDir = parent.hidden.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
||
|
var hiddenUrl = parent.hidden.window.location.href.substring(hiddenDir.length,parent.hidden.window.location.href.length+1);
|
||
|
if (hiddenUrl.indexOf("#") >= 0) { hiddenUrl = hiddenUrl.substring(0,hiddenUrl.indexOf("#"));}
|
||
|
if (hiddenUrl != "rzahqadvhidden.htm") {
|
||
|
//Correct HTML not loaded, load it
|
||
|
parent.hidden.window.location = "rzahqadvhidden.htm";
|
||
|
} else { //already loaded
|
||
|
getData();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function getData() {
|
||
|
if (!isEmpty(parent.hidden.v1[114])) { //value stored for main radio
|
||
|
document.form1.rad[parseInt(parent.hidden.v1[114],10)].checked = true;
|
||
|
if (parseInt(parent.hidden.v1[114],10) == 1) { //use specific user and password
|
||
|
if (!isEmpty(parent.hidden.v1[115])) { //value stored user
|
||
|
document.form1.user.value = parent.hidden.v1[115];
|
||
|
}
|
||
|
if (!isEmpty(parent.hidden.v1[116])) { //value stored password
|
||
|
document.form1.pword.value = parent.hidden.v1[116];
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
function onNext() {
|
||
|
//Save data
|
||
|
if (document.form1.rad[0].checked == true) parent.hidden.v1[114] = 0;
|
||
|
if (document.form1.rad[1].checked == true) {
|
||
|
parent.hidden.v1[114] = 1;
|
||
|
if (!isEmpty(document.form1.user.value) && isAlphanumeric(document.form1.user.value)) {
|
||
|
parent.hidden.v1[115] = document.form1.user.value;
|
||
|
} else {
|
||
|
alert(errMess);
|
||
|
return;
|
||
|
}
|
||
|
if (!isEmpty(document.form1.pword.value) && isAlphanumeric(document.form1.pword.value)) {
|
||
|
parent.hidden.v1[116] = document.form1.pword.value;
|
||
|
} else {
|
||
|
alert(errMess1);
|
||
|
return;
|
||
|
}
|
||
|
} else {
|
||
|
parent.hidden.v1[115] = ""; //clear out user
|
||
|
parent.hidden.v1[116] = ""; //clear out password
|
||
|
}
|
||
|
if (document.form1.rad[2].checked == true) parent.hidden.v1[114] = 2;
|
||
|
|
||
|
|
||
|
window.location = "rzahqadvisor3g.htm"; //next page
|
||
|
}
|
||
|
|
||
|
function onBack() {
|
||
|
if (parseInt(parent.hidden.v1[103],10) == 1) { //existing
|
||
|
window.location = "rzahqadvisor3e.htm";
|
||
|
} else { //new
|
||
|
window.location = "rzahqadvisor3d.htm";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
//END NON-TRANSLATABLE
|
||
|
|
||
|
////////// -->
|
||
|
</script>
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
|
||
|
<body onLoad="checkFrame()">
|
||
|
|
||
|
<h2>Windows Server installation advisor</h2>
|
||
|
<strong>Service processor authentication</strong>
|
||
|
|
||
|
<p>If the service processor configuration defined earlier does not use a certificate
|
||
|
to secure the service processor connection, then you do not need to specify a user
|
||
|
and password below.</p>
|
||
|
|
||
|
<p>If the service processor configuration defined earlier uses the automatic method
|
||
|
for setting up the user and certificate for the service processor connection, specify
|
||
|
a new service processor user and password below or use the default user and password option.</p>
|
||
|
|
||
|
<p>If the service processor configuration defined earlier uses the manual method for
|
||
|
setting up the user and certificate or if the synchronize certificate option was
|
||
|
specified, specify the existing service processor user and password below or use
|
||
|
the default user and password option.</p>
|
||
|
|
||
|
|
||
|
<form name="form1">
|
||
|
<p>What service processor user do you want to use to secure the service processor connection?</p>
|
||
|
<p>
|
||
|
<blockquote>
|
||
|
<input type="radio" name="rad" checked value="none" id="none" checked><label for="none">Do not use a user and password</label><br>
|
||
|
<input type="radio" name="rad" checked value="spec" id="spec"><label for="spec">Use specific user and password</label><br>
|
||
|
|
||
|
<blockquote>
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td><label for="user">User:</label></td>
|
||
|
<td><input type="text" name="user" id="user" maxlength="15" onFocus="selectRadio(1);"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><label for="pword">Password:</label></td>
|
||
|
<td><input type="text" name="pword" id="pword" maxlength="15" onFocus="selectRadio(1);"></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</blockquote>
|
||
|
|
||
|
|
||
|
<input type="radio" name="rad" value="usedef" id="usedef"><label for="usedef">Use default user and password</label><br><br>
|
||
|
</blockquote>
|
||
|
</p>
|
||
|
|
||
|
<br><br>
|
||
|
|
||
|
<center>
|
||
|
<input type="button" value="<< Back" onClick="onBack()">
|
||
|
<input type="button" value="Next >>" onClick="onNext()">
|
||
|
</center>
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|