February 17, 2012

Automatic login to Maximo UI

As a Maximo consultant I spend many hours on test and development systems developing customizations and testing business processes. This means I frequently login on Maximo Web UI with several users and passwords.
I typically store the passwords in my web browser to speedup the annoying step but today I have found a better trick to directly jump into a Maximo application skipping the login page. This can be done providing the username and password in the URL used to connect to the web UI. Lets make some examples.
  • Connect to the Start Center as wilson
    http://mxhost/maximo/ui/login?login=url&username=wilson&password=wilson
  • Connect to the Work Order Tracking application as wilson
    http://mxhost/maximo/ui/login?login=url&username=wilson&password=wilson&event=loadapp&value=wotrack
Just replace the tags in the previous URLs with your hostname, application, username and password.

There is only one drawback with this solution... security. Your admin password will be stored in plain text in your browser's bookmarks and will remain visible in the address bar throughout the session.
See Maximo URLs for more Maximo http shortcuts.

7 comments:

  1. Do you know if there's an URL for auto-logout ?

    Thanks, Diego

    ReplyDelete
  2. Hi Bruno, great post!!
    But it's not working on my system. I'm always just redirected to the login page.
    Maximo is configured to use https only. Could this be the problem?
    Any other ideas?
    There is no error message in SystemOut.log
    Thanks!

    ReplyDelete
    Replies
    1. I have tested it on TPAE 7.1.
      What Base Services version are you running on?

      Delete
  3. Hi Bruno,

    I'm running on Base 7.1.1.6 at the moment and will upgrade to 7.1.1.8 in the next weeks.
    Thanks

    ReplyDelete
  4. Hello,
    Is there a way to redirect to a custom login page, and use it for authentication?
    The web.xml has the following entry
    param-value>../jsp/common/system/login.jsp</param-value

    If I change to point to a custom login page, will I be able to login?

    Thanks,
    Sasi Venugopal

    ReplyDelete
  5. the information that is sent over http is not encrypted. Also the whole URL is available from the Apache server / IBM Https Server access logs. I would suggest use this in your local test environment and in an environment where you don't mind sharing your maximo password with others.

    ReplyDelete