Since v10.7 the security_check have changed
https://knowledge.broadcom.com/external/article?articleId=22664&_ga=2.100586334.1798670551.1585760788-25198041.1584461639And there are new ways to do this acoording to the TEC note above.
I have followed the Tec note and created an .html with the login pointing to a dashboard
Then created a direct access wich runs the browser calling the .html
It opens oK but still ask me for the login insted of doing the login with the data in the file.
Im not keen on html so i cant debug this really
I have changed the user/pass fo security reasons
The HTML to call the dashboard and do the login
<html>
<body>
<iframe id="dummyframe" name="dummyframe" width="0" height="0" border="0"></iframe>
<form action="http://XXXXXXXXX.ar/:8080/ApmServer/j_security_check" method="POST" id="myform" target="dummyframe">
<input type="hidden" name="j_username" value="USERNAME">
<input type="hidden" name="j_password" value="USERPASSWORD">
</form>
<script type="text/javascript">
window.document.getElementById("myform").submit();
function redirect() { window.location = "http://XXXXXXXX.ar:8080/#console;db=Tablero+Gerencial+NUEVO;dn=SuperDomain;mm=GERENCIAL+NUEVO;tr=0"; }
setTimeout(redirect, 15000);
</script>
</body>
</html>
The direct access to run browser w/ the html
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" file:///C:\Apps\APMtestCA.html
i see an error with the j_security_check but dont know how to debug this.
Anyone had experience with this?
Original Message:
Sent: 10-18-2018 02:27 PM
From: Richard Valdez
Subject: Re: Authenticate WebView in URL itself
Hello Keshav:
In my case, i´m working with apm 10.1 this URL work ok to show directly a dashboard
http://***.***.***:8080/jsp/j_security_check?j_username=guest&j_password=&page=http://***.***.***:8080/#console;db=WebView+-+Overview;dn=SuperDomain;mm=WebView+Monitoring;tr=0
After the parameter page= copy and paste the url you are with manual login
Regards,
Richard