Skip to content

Login

When question arises why login does not work it is helpfull to execute the following requests

maximo

Depending on maximo configuration Option 1 or Option 2 must result in http-200

Please check maximouiweb\webmodule\WEB-INF\web.xml and maxrestweb\webmodule\WEB-INF\web.xml for

    <login-config>
        <auth-method>(BASIC|FORM)</auth-method>
    </login-config>

Option 1 (for native Authentication OR for LDAP with Basic Authentication):

POST http://<maximo-server>/maximo/oslc/login

Header:
MAXAUTH         <base64(user:pw)>
Authorization   Basic <base64(user:pw)>

Option 2 (for LDAP with FORM Authentication):

POST http://<maximo-server>/maxrest/oslc/login

Header:
MAXAUTH         <base64(user:pw)>
Authorization   Basic <base64(user:pw)>

If only option 2 works (i.e maximo 7.x with LDAP) it is neccessary to configure login-routing to maxrest/oslc explicitly in insight.properties

    gateway.forward.insight.auth=<maximo-server>/maxrest/oslc

Finally login via insight must result in http-200

POST http://localhost:8080/insight-gateway/rest/maximo/login

Header:
MAXAUTH         <base64(user:pw)>
Authorization   Basic <base64(user:pw)>