Welcome to Questions - Ask OpenNMS, where you can ask questions and receive answers from other members of the community.

Can you embed username/password directly into the dashboard url?

0 votes
I have a large tv with a variety of sources, including an opennms dashboard. It's all generally automated except for opennms, I have to login with a username and password. Is it possible at all to embed the credentials into the url. I've tried a few random combinations I found on the web with zero success.

OpenNMS version
Java version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
Operating system
Windows 10 1607
PostgreSQL version
psql (PostgreSQL) 9.2.18
asked Jun 28, 2017 by five (150 points)

1 Answer

0 votes
Hi, sorry it is not possible to add username and password in an URL, cause it would be transferred over the wire with every GET request and by default, just HTTP is used. You can have a look at some Firefox plugins to ensure your session keeps alive once you are logged in. Something like https://addons.mozilla.org/en-US/firefox/addon/session-keeper/

I've found also something to auto login here: https://addons.mozilla.org/en-US/firefox/addon/the-idle-login/?src=search

I haven't tried them out, hope this helps
answered Jun 28, 2017 by indigo (11,480 points)