Showing results for 
Search instead for 
Do you mean 

"Authentication failure on rpc endpoint : 401" when using Apollo 2020 and Windows Authentication SSO

by Technical Evangelist on ‎11-06-2019 07:41 AM (98 Views)

If user configure Apollo 2020 using Windows authentication, user may get "Authentication failure on rpc endpoint : 401" error when login to data manager.

 

datamanager401.png

 

This issue has been documented in Apollo 2020 install and config guide under Java Requirements.

 

Since Java 8, Java no longer trusts NTLM by default (a requirement for ERDAS APOLLO configurations using Windows authentication) so you must tell Java specifically to allow it.

 

Here is the workflow:

 

[1] Config Apollo 2020 using Window authentication.


[2] AFTER you have completed the Configuration Wizard work flow, add the following java option to tomcat and datamanager.

 

=======================
For tomcat server:
=======================
Assuming you have installed to the default location, use Windows Explorer and navigate to C:\Program Files\Hexagon\ERDAS APOLLO\tomcat\bin\ and run APOLLOTOMCATw.exe as Administrator. From the ERDAS APOLLO TOMCAT Application Server Properties dialog, select the Java tab and add the following to the list of Java Options:

 

-Djdk.http.ntlm.transparentAuth=allHosts

 

 

Hit OK to accept the change and close the dialog. Next, use the Windows Administrative Tools > Services command to restart the ERDAS APOLLO Tomcat Application Server service.

 

 

=======================
For Data manager:
=======================
Assuming you have installed Data Manager to the default location, modify the following file C:\Program Files\Hexagon\ERDAS APOLLO Data Manager\datamanager.ini using any text editor.
Add the same Java parameter to datamanager.ini.

 

-Djdk.http.ntlm.transparentAuth=allHosts

 

 

Save your edit and the parameter will be applied each time you run ERDAS APOLLO Data Manager.

 

 

Contributors