DX Application Performance Management

Expand all | Collapse all

Authenticate WebView in URL itself

  • 1.  Authenticate WebView in URL itself

    Posted Jul 01, 2013 04:40 PM
    Hi,

    We are trying to build business dashboards in Splunk. In those dashboards, we want to display Introscope data aswell.

    1. Display Introscope dashboards/metrics on splunk views using a Iframe.

    Can we use URL authentication(pass UserName/pass in URL itself) for launching the WebUI? I tried something like this but it doesent seem to work. Its asks for login credentials.

    http://***.***.***.***:8080/console/frameset.do?host=***.***.***.***&port=5001&username=Guest&password=Guest&page=managementModuleName=App1&domainName=SuperDomain%2FEDGE&dashboardName=1.EuE+App1+Backends+Application+Performance

    Or

    http://***.***.***.***:8080/console/frameset.do?host=***.***.***.***&port=5001&username=Guest&password=Guest

    Both doesen't seem to authenticate. Not sure what I'm missing.

    Thanks in advance!!

    Keshav


  • 2.  RE: Authenticate WebView in URL itself

    Posted Jul 01, 2013 04:52 PM
    I can authenticate over URL using below, but I want to navigate to desired metrics/dashboards.

    http://***.***.***.***:8080/jsp/j_security_check?j_username=Guest&j_password=Guest&doLogin=Log+In


    Thanks,
    Keshav


  • 3.  RE: Authenticate WebView in URL itself

    Posted Jul 01, 2013 04:52 PM
    I can authenticate over URL using below, but I want to navigate to desired metrics/dashboards.

    http://***.***.***.***:8080/jsp/j_security_check?j_username=Guest&j_password=Guest&doLogin=Log+In


    Thanks,
    Keshav


  • 4.  RE: Authenticate WebView in URL itself

    Posted Jul 02, 2013 06:36 AM
    Keshav,

    In WebView you can save each dashboard as a browser "favorite" which should have a unique URL. You can then use each of those unique URLs to show specific dashboards in Splunk.

    Manish


  • 5.  RE: Authenticate WebView in URL itself



  • 6.  RE: Authenticate WebView in URL itself

    Posted Jul 02, 2013 03:19 PM
      |   view attached
    Attaching snapshot.


  • 7.  RE: Authenticate WebView in URL itself
    Best Answer

    Posted Jul 02, 2013 03:33 PM


  • 8.  RE: Authenticate WebView in URL itself

    Posted Jul 02, 2013 03:59 PM
    Thanks Sunil. But this will launch a workstation with a desired view.
    I'm trying to do with WebView. The intent is to integrate Introscope webView dashboard onto Splunk using Iframes.

    Thanks in advance!!

    Keshav


  • 9.  RE: Authenticate WebView in URL itself

    Posted Mar 13, 2014 04:23 PM

    Bump... Any update on this with 9.5 webview?



  • 10.  RE: Authenticate WebView in URL itself

    Posted Apr 08, 2014 10:21 AM

    Hi Keshav,

    Have you managed to solve your problem?

    I need a URL to directly access a specific dasboard in webview.

    Thanks.

    André

     



  • 11.  Re: Authenticate WebView in URL itself

    Posted Oct 18, 2018 02:27 PM

    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



  • 12.  RE: Re: Authenticate WebView in URL itself

    Posted Apr 01, 2020 01:41 PM
    Since v10.7 the security_check have changed 
    https://knowledge.broadcom.com/external/article?articleId=22664&_ga=2.100586334.1798670551.1585760788-25198041.1584461639
    And 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.


    https://api-broadcom-ca-user.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=645538058216

    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? 




  • 13.  RE: Re: Authenticate WebView in URL itself

    Broadcom Employee
    Posted Apr 02, 2020 09:42 AM
    You have a typo. Remove the forward slash after the hostname.

    <form action="http://XXXXXXXXX.ar/:8080/ApmServer/j_security_check" method="POST" id="myform" target="dummyframe">

    ------------------------------
    Custom Solution Architect
    Broadcom
    ------------------------------