Force Specific Authentication Mechanism#

ADONIS NP users can be forced to log in using a specific authentication mechanism (= connector) with an URL parameter, even though another connector would usually be applied.

Force Specific Connector

In order to force a specific connector:

  • Navigate to "http://<SERVER_NAME>:<TOMCAT_PORT>/ADONISNP11_0?forceConnector=<CONNECTOR_ID>".
Example

You want to create and distribute a URL which forces the standard connector (<connector id="Standard Login", the standard login page). You are running ADONIS NP 11.0. You are running the ADONIS NP web client on a machine with the IP 10.2.100.68. The URL should look like this:

"http://10.2.100.68:8000/ADONISNP11_0?forceConnector=Standard%20Login"

URLs cannot contain spaces, therefore the space character is replaced with "%20" in the example above (URL Encoding).

Force Specific Connector Type

In order to force a specific connector type:

  • Navigate to "http://<SERVER_NAME>:<TOMCAT_PORT>/ADONISNP11_0?forceConnectorType=<CONNECTOR_TYPE>".

The first configured and applicable (not ruled out via constraints) connector of the specified type will be used for authentication.

Example

You want to create and distribute a URL which forces a connector of type "IDM". You are running ADONIS NP 11.0. You are running the ADONIS NP web client on a machine with the IP 10.2.100.68. The URL should look like this:

"http://10.2.100.68:8000/ADONISNP11_0?forceConnectorType=IDM"

Force Connector/Connector Type for Admin Page

You can also force the use of a specific connector or connector type to log on to the Admin Page.

In order to force a specific connector:

  • Navigate to "http://<SERVER_NAME>:<TOMCAT_PORT>/ADONISNP11_0/admin.view?forceConnector=<CONNECTOR_ID>".

In order to force a specific connector type:

  • Navigate to "http://<SERVER_NAME>:<TOMCAT_PORT>/ADONISNP11_0/admin.view?forceConnectorType=<CONNECTOR_TYPE>".

The first configured and applicable (not ruled out via constraints) connector of the specified type will be used for authentication.

Force Refresh of Connection Data

When using the above parameters, the information about the forced connector is stored in the cache of the browser. Unless all browser windows are closed, this information will be used on any subsequent visits by the user.

To force a refresh of the connection data, the URL parameter forceClear can be used:

  • Navigate to "http://<SERVER_NAME>:<TOMCAT_PORT>/ADONISNP11_0?forceClear=true".