DX Application Performance Management

 View Only
Expand all | Collapse all

A customer has requested if it is possible to pass username / password in a URL string that WebView could pick up and go straight to a dashboard without having to stop at the authentication screen.  Are there any accommodations for this?  I would limit it

  • 1.  A customer has requested if it is possible to pass username / password in a URL string that WebView could pick up and go straight to a dashboard without having to stop at the authentication screen.  Are there any accommodations for this?  I would limit it

    Posted Dec 17, 2015 04:45 PM

    There are obvious security concerns with this type of implementation, but is it possible?



  • 2.  Re: A customer has requested if it is possible to pass username / password in a URL string that WebView could pick up and go straight to a dashboard without having to stop at the authentication screen.  Are there any accommodations for this?  I would limi
    Best Answer

    Broadcom Employee
    Posted Dec 18, 2015 06:54 AM

    Hello,

    If this is for APM pre-9.5, you can use workaround mentioned in KB TEC534338 - see below.Regards,

    Sergio

     

    **

    Question:

    How do I embed a WebView dashboard inside a web page or portlet without requiring user login?

     

    Answer:

    You can simultaneously bypass authentication and take the user to a specific dashboard.

    There are two separate URLs that do each of these:

     

    http://localhost:8080/j_security_check?j_username=Admin&j_password=
    http://localhost:8080/console/frameset.do?managementModuleName=Supportability&domainName=SuperDomain&dashboardName=EM+Capacity

    These invoke different paths within the WebView web application.

     

    The solution is to paste the content into a HTML file and it will do the login in the embedded iframe and redirect the page to the dashboard you want.
    You might want to replace the localhost

     

    <- start here ->

     

    <meta HTTP-EQUIV="REFRESH" content="2; url=http://localhost:8080/console/frameset.do?managementModuleName=Supportability&domainName=SuperDomain&dashboardName=EM+Capacity">

     

    <html>
    <body>
    <iframe src ="http://localhost:8080/j_security_check?j_username=Admin&j_password=" width="0%"></iframe>
    </body>
    </html>

     

    <- end here ->



  • 3.  Re: A customer has requested if it is possible to pass username / password in a URL string that WebView could pick up and go straight to a dashboard without having to stop at the authentication screen.  Are there any accommodations for this?  I would limi

    Posted Dec 18, 2015 08:55 AM

    Sergio, thank you for the great response and that it applies to versions earlier than 9.5.  The situation I'm working with is for APM 9.5 and we are looking at going to 10.1 early next year.  If you or anyone else has a suggestion with this information, I'd love to hear it.

     

    Thanks again.