HTTP/1.1 200
Cache-Control: no-cache, no-store
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Set-Cookie: JSESSIONID=4D56A0AA5CB8C5D8EA35986CB2ECDE12; Path=/; HttpOnly
X-Frame-Options: DENY
Content-Type: text/html;charset=UTF-8
Transfer-Encoding: chunked
Vary: Accept-Encoding
Date: Thu, 21 Nov 2024 09:24:30 GMT
Connection: close
2000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1' /><![endif]-->
<script>
sessionStorage.clear();
var ntlm = false;
var webConsoleOpened = 'Yes'; //No I18N
</script>
<input type="hidden" id="isWindows" value=true />
<input type="hidden" id="loadCookieMethod" value="true">
<title>
OpManager
</title>
<SCRIPT LANGUAGE="javascript" SRC="/cachestart/125378/cacheend/apiclient/fluidicv2/javascript/jquery/jquery-3.5.1.min.js"></SCRIPT>
<script language="JavaScript">
function showForgotPassword()
{ $("#loginFirst").slideUp(400);
$("#errorDiv").hide();
$("#mailErrorDiv").hide();
$("#forgotPassStatus").hide();
document.getElementById("authenticationDiv").style.display="none";
document.getElementById("forgotPasswordDiv").style.display="block";
$('#authenticationDiv').css({left:'-100%',opacity:'0'});
$('#forgotPasswordDiv').css({left:'0',opacity:'1'});
}
function returnLogin()
{
document.getElementById("forgotPassStatus").innerHTML="";
document.getElementById("forgotPassStatus").style.display="none";
document.getElementById("forgotPasswordDiv").style.display="none";
document.getElementById("authenticationDiv").style.display="block";
$('#authenticationDiv').css({left:'0',opacity:'1'});
$('#forgotPasswordDiv').css({left:'100%',opacity:'0'});
}
function generatePwd(mailId)
{
if(document.loginForm.uname.value=="")
{
alert("请提供所有明细");
return;
}
else
{
xmlHttp = GetXmlHttpObject();
if(xmlHttp != null)
{
xmlHttp.onreadystatechange = processStateChange;
//var url = "/admin/SendPassword.do?uname="+document.loginForm.uname.value+"&domainName=NULL"; //No i18n
var url = "/servlets/ForgotPasswordServlet?uname="+document.loginForm.uname.value+"&domainName=NULL"; //No i18n
url= url+"&sid="+Math.random(); //No I18N
xmlHttp.open("POST",url,true);
xmlHttp.send(null);
}
}
}
function processStateChange()
{
if(xmlHttp.readyState == 4 || xmlHttp.readyState == "complete")
{
document.getElementById("forgotPassStatus").style.display="block";
document.getElementById("forgotPassStatus").innerHTML=xmlHttp.responseText;
}
}
function GetXmlHttpObject()
{
var objXmlHttp = null;
if(window.XMLHttpRequest)
{
objXmlHttp = new XMLHttpRequest();
}
else if(window.ActiveXObject)
{
objXmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
return objXmlHttp;
}
var uName = "";
var signInAutomatically = "";
var pwd = "";
var dName = "";
var encyptedpwd = "";
var authrule_name = "";
function setincheckbox()
{
var url = "/servlets/SettingsServlet?"; //No I18N
var dataParams = "readAutoLoginCookie=true";//No I18N
if(window.location.pathname === "/apiclient/ember/index.jsp" && window.location.hash.indexOf('#/') !== -1){
dataParams=dataParams+"&cookieUpdate=true&cookieName=f2RedirectUrl&cookieValue="+window.location.href+"&cookieExpiry=-1";//No I18N
}else{
dataParams=dataParams+"&eraseCookie=true&cookieName=f2RedirectUrl";//No I18N
}
$.ajax({
url: url,
type: "POST",//No I18N
dataType: 'json',//No I18N
async: false,
data:dataParams,
success: function(jsonData)
{
uName = jsonData.userNameForAutomaticSignin;
signInAutomatically = jsonData.signInAutomatically;
pwd = jsonData.password;
dName = jsonData.domainNameForAutomaticSignin;
encyptedpwd=jsonData.encryptPassForAutomaticSignin;
authrule_name=jsonData.authrule_name;
}
});
if(signInAutomatically == "false")
{
jQuery("#StayIn").removeAttr('checked'); //no i18n
}
else
{
jQuery("#StayIn").attr('checked',"true"); //no i18n
}
}
function loginFromCookie()
{
setScreenSize();
var loadCookie = document.getElementById("loadCookieMethod").value;
if(signInAutomatically=="true" && (loadCookie!==undefined && loadCookie!=null && loadCookie=="true") && (rememberMeCookie!==undefined && rememberMeCookie!=null && rememberMeCookie!="" && rememberMeCookie!="null") && (aaaLoginName!==undefined && aaaLoginName!=null && aaaLoginName!="" && aaaLoginName!="null") && (aaaDomainName!==undefined && aaaDomainName!=null && aaaDomainName!="" && aaaDomainName!="null"))
{
var errorExist = "false";
if(document.getElementById("errorMsg") !== undefined && document.getElementById("errorMsg") !== null)
{
errorExist = document.getElementById("errorMsg").innerHTML;
}
if(errorExist==="false")
{
signOn(aaaLoginName, aaaDomainName, rememberMeCookie);
}
else
{
var e = document.getElementById("LoginDiv").style;
e.display = "block";
if ( uName!=null )
{
document.loginForm.userName.value = uName;
}
if ( pwd!=null )
{
document.loginForm.password.value = pwd;
}
document.loginForm.userName.focus();
}
}
else
{
var e = document.getElementById("LoginDiv").style;
e.display = "block";
if ( uName!=null )
{
document.loginForm.userName.value = uName;
}
if ( pwd!=null )
{
document.loginForm.password.value = pwd;
}
else
{
document.getElementById('password').setAttribute("class","loginFont pwdField opacity3");
}
document.loginForm.userName.focus();
}
}
function signOn(aaaLoginName, aaaDomainName, rememberMeCookie)
{
document.loginForm.j_username.value = aaaLoginName;
document.loginForm.j_password.value = rememberMeCookie;
if(document.loginForm.domainNameAD !== undefined && document.loginForm.domainNameAD.value !== null)
{
document.loginForm.domainNameAD.value = aaaDomainName;
}
document.getElementById("btnSubmit").disabled = true; //No I18N
if(document.getElementsByClassName('skipSpan')[0] !== undefined)
{
document.getElementsByClassName('skipSpan')[0].style.pointerEvents = 'none'; //No I18N
}
document.loginForm.submit();
}
// function userType()
// {
// var id = document.getElementById("loginFirst");
// if (false)
// {
// //alert('Showing the userDetails');
// eval("id.style.visibility = 'visible';");
// }
// else
// {
// eval("id.style.visibility = 'hidden';");
// }
// }
var xmlHttp
// function clearLoginInfo()
// {
// xmlHttp=GetXmlHttpObject()
// if (xmlHttp==null)
// {
// alert ("Browser does not support HTTP Request"); //No I18N
// return
// }
// var url="/showDetails.do?requestid=false"; //No I18N
// url=url+"&sid="+Math.random();//No I18N
// xmlHttp.onreadystatechange=processReqChange
// xmlHttp.open("GET",url,true)
// xmlHttp.send(null)
// }
// function processReqChange()
// {
// // only if xmlHttp shows "complete"
// if (xmlHttp.readyState == 4)
// {
// // only if "OK"
// if (xmlHttp.status == 200)
// {
// // ...processing statements go here...
// response = xmlHttp.responseXML.documentElement;
// result = response.getElementsByTagName('result')[0].firstChild.data;
// //result = unescape(result);
// var id = document.getElementById("loginFirst");
// if(result) {
// //document.getElementById("loginFirst").visibility = 'visible';
//
2000
eval("id.style.visibility = 'hidden';");
// }
// else
// {
// eval("id.style.visibility = 'visible';");
// }
// }
// else
// {
// alert("There was a problem retrieving the XML data:\n" + xmlHttp.statusText); //No I18N
// }
// }
// //alert("Status Text:\n" + xmlHttp.statusText);
// }
function GetXmlHttpObject()
{
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
}
function loginSubmit()
{
if(document.getElementById("authenticationDiv").style.display=='block')
{
if(validateUser()) {
//document.loginForm.submit();
document.getElementById("btnSubmit").disabled = true; //No I18N
if(document.getElementsByClassName('skipSpan')[0] !== undefined){
document.getElementsByClassName('skipSpan')[0].style.pointerEvents = 'none'; //No I18N
}
return true;
}
else
{
return false;
}
}
else
{
generatePwd();
}
}
function demoLoginSubmit(formName)
{
if(!$('.loginInfo').hasClass("disabled")){
$('.loginInfo').addClass("disabled")
document[formName].submit();
}
}
function checkLogin(e)
{
var characterCode;
if(e && e.which){
e = e
characterCode = e.which
}
else{
e = event
characterCode = e.keyCode
}
if(characterCode == 13)
loginSubmit();
}
function validateUser()
{
if(document.getElementById("authenticationDiv").style.display=='block')
{
document.loginForm.loginFromCookieData.value = false;
var userName = trimAll(document.loginForm.userName.value);
var password = trimAll(document.loginForm.password.value);
if(userName == "")
{
alert("请输入用户名");
document.loginForm.userName.focus();
return false;
}
if(password == "")
{
alert("请输入密码");
document.loginForm.password.focus();
return false;
}
var defaultDomainValue="Authenticator";//no i18n
if(document.loginForm.domainNameAD !== undefined && document.loginForm.domainNameAD.value !== null)
{
defaultDomainValue=document.loginForm.domainNameAD.value;
}
if(defaultDomainValue=='NULL')
{
defaultDomainValue="Authenticator";//no i18n
}
if(userName=='trialuserlogin')
{
defaultDomainValue="Authenticator";//no i18n
}
var url = "/servlets/SettingsServlet?requestType=AJAX&sid=" + Math.random(); //No I18N
var dataParams = "signInAutomatically=" + document.loginForm.signInAutomatically.checked; //No I18N
$.ajax({
url: url,
type: "POST", //No I18N
dataType: "html", //No I18N
async: false,
data: dataParams
});
return true;
}
else
{
generatePwd();
}
}
function setScreenSize() {
//getFlashVersion();
var screenWidth = 0, screenHeight = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
screenWidth = window.innerWidth;
screenHeight = window.innerHeight;
}
else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight))
{
//IE 6+ in 'standards compliant mode'
screenWidth = document.documentElement.clientWidth;
screenHeight = document.documentElement.clientHeight;
}
else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
screenWidth = document.body.clientWidth;
screenHeight = document.body.clientHeight;
}
//window.alert( 'Width = ' + screenWidth );
//window.alert( 'Height = ' + screenHeight );
document.loginForm.ScreenWidth.value =screenWidth;
document.loginForm.ScreenHeight.value = screenHeight;
}
/*function getFlashVersion(){
var version = deconcept.SWFObjectUtil.getPlayerVersion();
var myflashversion =version['major'] +"."+ version['minor'] +"."+ version['rev'];
if (document.getElementById && (version['major'] >= 0)) {
createCookie("flashversionInstalled" ,myflashversion, 2);
}
}*/
function showDiv(DivId){
document.getElementById(DivId).style.display = 'block';
}
// function hideDiv(DivId){
// if(DivId == 'loginFirst'){
// document.getElementById('loginFirst').innerHTML ="<table width=\"373\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td width=\"13\" height=\"21\"><img src=\"/webclient/common/images/spacer.gif\" alt=\" \" /></td><td width=\"339\"></td><td width=\"21\" height=\"21\"><a href=\"javascript:hideDiv('loginFirst');clearLoginInfo();\"><img src=\"/webclient/common/images/spacer.gif\" border=\"0\" title=\"close\" /></a></td></tr></table>"
// }else{
// document.getElementById(DivId).style.display = 'none';
// }
// }
// function forgetPass(){
// hideDiv('authenticationDiv'); //No I18N
// //hideDiv('loginFirst');
// //document.loginForm.uname.focus();
// }
function skipOption()
{
document.loginForm.userName.value = "trialuserlogin";//No I18N
document.loginForm.password.value = "trialuserlogin";//No I18N
//document.loginForm.domainName.value = "NULL";//no i18n
//document.loginForm.authType.value = "localUserLogin";//no i18n
if(loginSubmit()) {
document.loginForm.submit();
}
}
function setOpacityInputUser()
{
document.getElementById('userName').setAttribute("class","loginFont usrNameField opacity8");
}
function setOpacity3InputUser()
{
document.getElementById('userName').setAttribute("class","loginFont usrNameField opacity3");
}
function setOpacityInputEmail()
{
document.getElementById('uname').setAttribute("class","loginFont usrNameField opacity8");
}
function setOpacity3InputEmail()
{
document.getElementById('uname').setAttribute("class","loginFont usrNameField opacity3");
}
function setOpacityInputPwd()
{
document.getElementById('password').setAttribute("class","loginFont pwdField opacity8");
document.getElementById('password').type = 'password';
}
function setOpacity3InputPwd()
{
document.getElementById('password').setAttribute("class","loginFont pwdField opacity3");
document.getElementById('password').type = 'text';
}
function trimAll(str)
{
/*************************************************************
Input Parameter :str
Purpose : remove all white spaces in front and back of string
Return : str without white spaces
***************************************************************/
//check for all spaces
var objRegExp =/^(\s*)$/;
if (objRegExp.test(str))
{
str = str.replace(objRegExp,'');
if (str.length == 0)
{ return str;}
}
// check for leading and trailling spaces
objRegExp = /^(\s*)([\W\w]*)(\b\s*$)/;
if(objRegExp.test(str))
{
str = str.replace(objRegExp, '$2');
}
return str;
}
function detectOSnBrowser(){
var OSName='unkown_OS';//No I18N
if(navigator.appVersion.indexOf('Win')!=-1){OSName='Windows';}//No I18N
if(navigator.appVersion.indexOf('Mac')!=-1){OSName='MacOS';}//No I18N
if(navigator.appVersion.indexOf('X11')!=-1){OSName='UNIX';}//No I18N
if(navigator.appVersion.indexOf('Linux')!=-1){OSName='Linux';}//No I18N
$('html,body').addClass(OSName);
var browserName='unkown_Browser';//No I18N
if(/Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor)){browse
{
"@category" : "datascan",
"@timestamp" : "2024-11-21T09:24:34.000Z",
"app" : {
"extract" : {
"domain" : [
"w3.org"
],
"hostname" : [
"www.w3.org"
],
"url" : [
"http://www.w3.org/1999/xhtml",
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
]
},
"http" : {
"bodymd5" : "da3d3d0a356753ac80a50e9bca6a0be3",
"bodymmh3" : 1962078910,
"component" : [
{
"productvendor" : "Oracle",
"product" : "Java"
},
{
"product" : "jQuery",
"productvendor" : "jQuery",
"productversion" : "3.5.1"
}
],
"headermd5" : "482edd6b9e79633e87da12b1f21cd1af",
"headermmh3" : -471629760,
"title" : "OpManager"
},
"length" : 16384
},
"asn" : "AS4134",
"city" : "Meishan",
"country" : "CN",
"cpe" : "<enterprise field>: cpe",
"cpecount" : "<enterprise field>: cpecount",
"data" : "HTTP/1.1 200 \r\nCache-Control: no-cache, no-store\r\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\r\nPragma: no-cache\r\nSet-Cookie: JSESSIONID=4D56A0AA5CB8C5D8EA35986CB2ECDE12; Path=/; HttpOnly\r\nX-Frame-Options: DENY\r\nContent-Type: text/html;charset=UTF-8\r\nTransfer-Encoding: chunked\r\nVary: Accept-Encoding\r\nDate: Thu, 21 Nov 2024 09:24:30 GMT\r\nConnection: close\r\n\r\n2000\r\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\t\n\t\n\t\n\t<head>\n\t\t<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1' /><![endif]-->\n\t\t\n\t\t<script>\n\t\t\tsessionStorage.clear();\n\t\t\tvar ntlm = false;\n\t\t\tvar webConsoleOpened = 'Yes'; //No I18N\n\t\t</script>\n\t\t\n\t\t\t\t<input type=\"hidden\" id=\"isWindows\" value=true />\n\t\t\t\n\t\t\t\t\t<input type=\"hidden\" id=\"loadCookieMethod\" value=\"true\">\n\t\t\t\t\n\n\t\t<title>\n\t\t\t\t\tOpManager\n\t\t</title>\n\n\t\t\n\t\t\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t<SCRIPT LANGUAGE=\"javascript\" SRC=\"/cachestart/125378/cacheend/apiclient/fluidicv2/javascript/jquery/jquery-3.5.1.min.js\"></SCRIPT>\n\t\t\n<script language=\"JavaScript\">\nfunction showForgotPassword()\n{\t\t$(\"#loginFirst\").slideUp(400);\n $(\"#errorDiv\").hide();\n $(\"#mailErrorDiv\").hide();\n $(\"#forgotPassStatus\").hide();\n \n document.getElementById(\"authenticationDiv\").style.display=\"none\";\n document.getElementById(\"forgotPasswordDiv\").style.display=\"block\";\n\n $('#authenticationDiv').css({left:'-100%',opacity:'0'});\n $('#forgotPasswordDiv').css({left:'0',opacity:'1'});\n}\n\nfunction returnLogin()\n{\n\tdocument.getElementById(\"forgotPassStatus\").innerHTML=\"\";\n\tdocument.getElementById(\"forgotPassStatus\").style.display=\"none\";\n\tdocument.getElementById(\"forgotPasswordDiv\").style.display=\"none\";\n document.getElementById(\"authenticationDiv\").style.display=\"block\";\n\n $('#authenticationDiv').css({left:'0',opacity:'1'});\n $('#forgotPasswordDiv').css({left:'100%',opacity:'0'});\n}\n\nfunction generatePwd(mailId)\n{\n if(document.loginForm.uname.value==\"\")\n {\n alert(\"\u8bf7\u63d0\u4f9b\u6240\u6709\u660e\u7ec6\");\n return;\n }\n else\n {\n\t\t xmlHttp = GetXmlHttpObject();\n if(xmlHttp != null)\n {\n xmlHttp.onreadystatechange = processStateChange;\n //var url = \"/admin/SendPassword.do?uname=\"+document.loginForm.uname.value+\"&domainName=NULL\"; //No i18n\n\t\t\tvar url = \"/servlets/ForgotPasswordServlet?uname=\"+document.loginForm.uname.value+\"&domainName=NULL\"; //No i18n\n url= url+\"&sid=\"+Math.random(); //No I18N\n xmlHttp.open(\"POST\",url,true);\n xmlHttp.send(null);\n }\n }\n}\n\nfunction processStateChange()\n{\n if(xmlHttp.readyState == 4 || xmlHttp.readyState == \"complete\")\n {\n\t\tdocument.getElementById(\"forgotPassStatus\").style.display=\"block\";\n document.getElementById(\"forgotPassStatus\").innerHTML=xmlHttp.responseText;\n }\n}\n\nfunction GetXmlHttpObject()\n{\n var objXmlHttp = null;\n if(window.XMLHttpRequest)\n {\n objXmlHttp = new XMLHttpRequest();\n }\n else if(window.ActiveXObject)\n {\n objXmlHttp = new ActiveXObject(\"Microsoft.XMLHTTP\");\n }\n return objXmlHttp;\n}\n\nvar uName = \"\";\nvar signInAutomatically = \"\";\nvar pwd = \"\";\nvar dName = \"\";\nvar encyptedpwd = \"\";\nvar authrule_name = \"\";\n\nfunction setincheckbox()\n{\n var url = \"/servlets/SettingsServlet?\"; //No I18N\n var dataParams = \"readAutoLoginCookie=true\";//No I18N\n if(window.location.pathname === \"/apiclient/ember/index.jsp\" && window.location.hash.indexOf('#/') !== -1){\n dataParams=dataParams+\"&cookieUpdate=true&cookieName=f2RedirectUrl&cookieValue=\"+window.location.href+\"&cookieExpiry=-1\";//No I18N\n }else{\n dataParams=dataParams+\"&eraseCookie=true&cookieName=f2RedirectUrl\";//No I18N\n }\n $.ajax({\n url: url,\n type: \"POST\",//No I18N\n dataType: 'json',//No I18N\n async: false,\n data:dataParams,\n success: function(jsonData)\n {\n uName = jsonData.userNameForAutomaticSignin;\n signInAutomatically = jsonData.signInAutomatically;\n pwd = jsonData.password;\n dName = jsonData.domainNameForAutomaticSignin;\n encyptedpwd=jsonData.encryptPassForAutomaticSignin;\n authrule_name=jsonData.authrule_name;\n }\n });\n if(signInAutomatically == \"false\")\n {\n jQuery(\"#StayIn\").removeAttr('checked'); //no i18n\n }\n else\n {\n jQuery(\"#StayIn\").attr('checked',\"true\"); //no i18n\n }\n}\n\nfunction loginFromCookie()\n{\n setScreenSize();\n \n var loadCookie = document.getElementById(\"loadCookieMethod\").value;\n\tif(signInAutomatically==\"true\" && (loadCookie!==undefined && loadCookie!=null && loadCookie==\"true\") && (rememberMeCookie!==undefined && rememberMeCookie!=null && rememberMeCookie!=\"\" && rememberMeCookie!=\"null\") && (aaaLoginName!==undefined && aaaLoginName!=null && aaaLoginName!=\"\" && aaaLoginName!=\"null\") && (aaaDomainName!==undefined && aaaDomainName!=null && aaaDomainName!=\"\" && aaaDomainName!=\"null\"))\n\t{\n\t\tvar errorExist = \"false\";\n\n\t\tif(document.getElementById(\"errorMsg\") !== undefined && document.getElementById(\"errorMsg\") !== null)\n\t\t{\n\t\t\terrorExist = document.getElementById(\"errorMsg\").innerHTML;\n\t\t}\n\t\n \tif(errorExist===\"false\")\n \t{\n\t\t\tsignOn(aaaLoginName, aaaDomainName, rememberMeCookie);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tvar e = document.getElementById(\"LoginDiv\").style;\n e.display = \"block\";\n if ( uName!=null )\n {\n document.loginForm.userName.value = uName;\n }\n if ( pwd!=null )\n {\n document.loginForm.password.value = pwd;\n }\n document.loginForm.userName.focus();\n\t\t}\n\t}\n\telse\n\t{\n\t\tvar e = document.getElementById(\"LoginDiv\").style;\n\t\te.display = \"block\";\n\t\tif ( uName!=null )\n\t\t{\n\t\t\tdocument.loginForm.userName.value = uName;\n } \n\n\t\tif ( pwd!=null )\n\t\t{\n\t\t\tdocument.loginForm.password.value = pwd; \n\t\t}\n else\n {\n document.getElementById('password').setAttribute(\"class\",\"loginFont pwdField opacity3\");\n }\n\t\tdocument.loginForm.userName.focus();\n\t}\n}\n\nfunction signOn(aaaLoginName, aaaDomainName, rememberMeCookie)\n{\n\tdocument.loginForm.j_username.value = aaaLoginName;\n document.loginForm.j_password.value = rememberMeCookie;\n\tif(document.loginForm.domainNameAD !== undefined && document.loginForm.domainNameAD.value !== null)\n {\n document.loginForm.domainNameAD.value = aaaDomainName;\n }\n document.getElementById(\"btnSubmit\").disabled = true; //No I18N\n if(document.getElementsByClassName('skipSpan')[0] !== undefined) \n {\n document.getElementsByClassName('skipSpan')[0].style.pointerEvents = 'none'; //No I18N\n }\n document.loginForm.submit();\n}\n\n// function userType()\n// {\n// var id = document.getElementById(\"loginFirst\");\n// if (false)\n// {\n// //alert('Showing the userDetails');\n// eval(\"id.style.visibility = 'visible';\");\n// }\n// else\n// {\n// eval(\"id.style.visibility = 'hidden';\");\n// }\n// }\n\n\nvar xmlHttp\n\n// function clearLoginInfo()\n// {\n// xmlHttp=GetXmlHttpObject()\n// if (xmlHttp==null)\n// {\n// alert (\"Browser does not support HTTP Request\"); //No I18N\n// return\n// }\n// var url=\"/showDetails.do?requestid=false\"; //No I18N\n// url=url+\"&sid=\"+Math.random();//No I18N\n// xmlHttp.onreadystatechange=processReqChange\n// xmlHttp.open(\"GET\",url,true)\n// xmlHttp.send(null)\n// }\n\n// function processReqChange()\n// {\n// // only if xmlHttp shows \"complete\"\n// if (xmlHttp.readyState == 4)\n// {\n// // only if \"OK\"\n// if (xmlHttp.status == 200)\n// {\n// // ...processing statements go here...\n// response = xmlHttp.responseXML.documentElement;\n// result = response.getElementsByTagName('result')[0].firstChild.data;\n// //result = unescape(result);\n// var id = document.getElementById(\"loginFirst\");\n// if(result) {\n// //document.getElementById(\"loginFirst\").visibility = 'visible';\n// \r\n2000\r\n eval(\"id.style.visibility = 'hidden';\");\n// }\n// else\n// {\n// eval(\"id.style.visibility = 'visible';\");\n// }\n// }\n// else\n// {\n// \t alert(\"There was a problem retrieving the XML data:\\n\" + xmlHttp.statusText); //No I18N\n// }\n// }\n// //alert(\"Status Text:\\n\" + xmlHttp.statusText);\n// }\n\nfunction GetXmlHttpObject()\n{\n var objXMLHttp=null\n if (window.XMLHttpRequest)\n {\n objXMLHttp=new XMLHttpRequest()\n }\n else if (window.ActiveXObject)\n {\n objXMLHttp=new ActiveXObject(\"Microsoft.XMLHTTP\")\n }\n return objXMLHttp\n}\n\n\nfunction loginSubmit()\n{\n\tif(document.getElementById(\"authenticationDiv\").style.display=='block')\n\t{\n\t if(validateUser()) {\n \t//document.loginForm.submit();\n document.getElementById(\"btnSubmit\").disabled = true; //No I18N\n if(document.getElementsByClassName('skipSpan')[0] !== undefined){\n \tdocument.getElementsByClassName('skipSpan')[0].style.pointerEvents = 'none'; //No I18N\n }\n \n\t\treturn true;\n\t }\n\t\telse\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t}\n\telse\n\t{\n\t\tgeneratePwd();\n\t}\n}\n\nfunction demoLoginSubmit(formName)\n{\n if(!$('.loginInfo').hasClass(\"disabled\")){\n $('.loginInfo').addClass(\"disabled\")\n document[formName].submit();\n }\n}\n\nfunction checkLogin(e)\n{\n var characterCode;\n if(e && e.which){\n e = e\n characterCode = e.which\n }\n else{\n e = event\n characterCode = e.keyCode\n }\n if(characterCode == 13)\n loginSubmit();\n}\n\n\nfunction validateUser()\n{\n\tif(document.getElementById(\"authenticationDiv\").style.display=='block')\n\t{\n\t\tdocument.loginForm.loginFromCookieData.value = false;\t\n\t var userName = trimAll(document.loginForm.userName.value);\n var password = trimAll(document.loginForm.password.value);\n if(userName == \"\")\n {\n alert(\"\u8bf7\u8f93\u5165\u7528\u6237\u540d\");\n document.loginForm.userName.focus();\n return false;\n }\n if(password == \"\")\n {\n alert(\"\u8bf7\u8f93\u5165\u5bc6\u7801\");\n document.loginForm.password.focus();\n return false;\n }\n \tvar defaultDomainValue=\"Authenticator\";//no i18n\n\t\tif(document.loginForm.domainNameAD !== undefined && document.loginForm.domainNameAD.value !== null)\n\t\t{\n\t\t\tdefaultDomainValue=document.loginForm.domainNameAD.value;\n\t\t}\n\t\t\n\t\tif(defaultDomainValue=='NULL')\n\t\t{\n\t\t\tdefaultDomainValue=\"Authenticator\";//no i18n\n\t\t}\n\t\tif(userName=='trialuserlogin')\n\t\t{\n\t\t\tdefaultDomainValue=\"Authenticator\";//no i18n\n\t\t}\n var url = \"/servlets/SettingsServlet?requestType=AJAX&sid=\" + Math.random(); //No I18N\n var dataParams = \"signInAutomatically=\" + document.loginForm.signInAutomatically.checked; //No I18N\n $.ajax({\n url: url,\n type: \"POST\", //No I18N\n dataType: \"html\", //No I18N\n async: false,\n data: dataParams\n });\n return true;\n\t}\n\telse\n\t{\n\t\tgeneratePwd();\n\t}\n\n}\n\n\nfunction setScreenSize() {\n//getFlashVersion();\n\n var screenWidth = 0, screenHeight = 0;\n if( typeof( window.innerWidth ) == 'number' ) {\n //Non-IE\n screenWidth = window.innerWidth;\n screenHeight = window.innerHeight;\n }\n else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight))\n {\n //IE 6+ in 'standards compliant mode'\n screenWidth = document.documentElement.clientWidth;\n screenHeight = document.documentElement.clientHeight;\n }\n else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {\n //IE 4 compatible\n screenWidth = document.body.clientWidth;\n screenHeight = document.body.clientHeight;\n }\n //window.alert( 'Width = ' + screenWidth );\n //window.alert( 'Height = ' + screenHeight );\n document.loginForm.ScreenWidth.value =screenWidth;\n document.loginForm.ScreenHeight.value = screenHeight;\n\n}\n\n/*function getFlashVersion(){\n\tvar version = deconcept.SWFObjectUtil.getPlayerVersion();\n\tvar myflashversion =version['major'] +\".\"+ version['minor'] +\".\"+ version['rev'];\n\tif (document.getElementById && (version['major'] >= 0)) {\n\t\tcreateCookie(\"flashversionInstalled\" ,myflashversion, 2);\n\t}\n}*/\n\nfunction showDiv(DivId){\n\tdocument.getElementById(DivId).style.display = 'block';\n}\n// function hideDiv(DivId){\n// \tif(DivId == 'loginFirst'){\n// \tdocument.getElementById('loginFirst').innerHTML =\"<table width=\\\"373\\\" border=\\\"0\\\" cellspacing=\\\"0\\\" cellpadding=\\\"0\\\"><tr><td width=\\\"13\\\" height=\\\"21\\\"><img src=\\\"/webclient/common/images/spacer.gif\\\" alt=\\\" \\\" /></td><td width=\\\"339\\\"></td><td width=\\\"21\\\" height=\\\"21\\\"><a href=\\\"javascript:hideDiv('loginFirst');clearLoginInfo();\\\"><img src=\\\"/webclient/common/images/spacer.gif\\\" border=\\\"0\\\" title=\\\"close\\\" /></a></td></tr></table>\"\n// \t}else{\n// \t\tdocument.getElementById(DivId).style.display = 'none';\n// \t}\n// }\n// function forgetPass(){\n// \thideDiv('authenticationDiv'); //No I18N\n// \t//hideDiv('loginFirst');\n// \t//document.loginForm.uname.focus();\n// }\n function skipOption()\n{ \n document.loginForm.userName.value = \"trialuserlogin\";//No I18N\n document.loginForm.password.value = \"trialuserlogin\";//No I18N\n\t//document.loginForm.domainName.value = \"NULL\";//no i18n\n\t//document.loginForm.authType.value = \"localUserLogin\";//no i18n\n if(loginSubmit()) {\n document.loginForm.submit();\n }\n}\nfunction setOpacityInputUser()\n{\n document.getElementById('userName').setAttribute(\"class\",\"loginFont usrNameField opacity8\");\n\n}\nfunction setOpacity3InputUser()\n{\n document.getElementById('userName').setAttribute(\"class\",\"loginFont usrNameField opacity3\");\n\n}\nfunction setOpacityInputEmail()\n{\n document.getElementById('uname').setAttribute(\"class\",\"loginFont usrNameField opacity8\");\n\n}\nfunction setOpacity3InputEmail()\n{\n document.getElementById('uname').setAttribute(\"class\",\"loginFont usrNameField opacity3\");\n\n}\nfunction setOpacityInputPwd()\n{\n document.getElementById('password').setAttribute(\"class\",\"loginFont pwdField opacity8\");\n document.getElementById('password').type = 'password';\n\n}\nfunction setOpacity3InputPwd()\n{\n document.getElementById('password').setAttribute(\"class\",\"loginFont pwdField opacity3\");\n document.getElementById('password').type = 'text';\n\n}\nfunction trimAll(str)\n{\n /*************************************************************\n Input Parameter :str\n Purpose : remove all white spaces in front and back of string\n Return : str without white spaces\n ***************************************************************/\n\n //check for all spaces\n var objRegExp =/^(\\s*)$/;\n if (objRegExp.test(str))\n {\n str = str.replace(objRegExp,'');\n if (str.length == 0)\n { return str;}\n }\n\n // check for leading and trailling spaces\n objRegExp = /^(\\s*)([\\W\\w]*)(\\b\\s*$)/;\n if(objRegExp.test(str))\n {\n str = str.replace(objRegExp, '$2');\n }\n return str;\n}\nfunction detectOSnBrowser(){\n var OSName='unkown_OS';//No I18N\n if(navigator.appVersion.indexOf('Win')!=-1){OSName='Windows';}//No I18N\n if(navigator.appVersion.indexOf('Mac')!=-1){OSName='MacOS';}//No I18N\n if(navigator.appVersion.indexOf('X11')!=-1){OSName='UNIX';}//No I18N\n if(navigator.appVersion.indexOf('Linux')!=-1){OSName='Linux';}//No I18N\n $('html,body').addClass(OSName);\n\n var browserName='unkown_Browser';//No I18N\n if(/Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor)){browse",
"datamd5" : "147ea1aab547ba5a2e0808b2b166e2cc",
"datammh3" : -242557538,
"device" : {
"class" : "<enterprise field>: device.class"
},
"geolocus" : {
"asn" : "AS4134",
"continent" : "AS",
"continentname" : "Asia",
"country" : "CN",
"countryname" : "China",
"domain" : [
"189.cn",
"chinatelecom.cn"
],
"isineu" : "false",
"latitude" : "35.86166",
"location" : "35.86166,104.195397",
"longitude" : "104.195397",
"netname" : "LUZHOU-TELECOM-COMPANY",
"organization" : "luzhou telecom corp",
"subnet" : "118.125.8.0/21"
},
"ip" : "118.125.15.142",
"ipv6" : "false",
"latitude" : "30.0321",
"location" : "30.0321,103.8435",
"longitude" : "103.8435",
"node" : {
"country" : "<enterprise field>: node.country",
"groupid" : "<enterprise field>: node.groupid",
"id" : "<enterprise field>: node.id",
"physicalcountry" : "<enterprise field>: node.physicalcountry"
},
"organization" : "Chinanet",
"os" : "Windows",
"osvendor" : "Microsoft",
"port" : 8891,
"protocol" : "http",
"protocolversion" : "1.1",
"seen_date" : "2024-11-21",
"source" : "datascan",
"status" : 200,
"subnet" : "118.125.0.0/17",
"tag" : "<enterprise field>: tag",
"tls" : "false",
"transport" : "tcp",
"url" : "/"
}