Page 1 of 1

Proxy authentication

Posted: Thu Nov 26, 2015 9:09 am
by paulokuriki
Hi

We are trying to test the Gateway in an environment where it's necessary to authenticate the user in a proxy server to gain access to the internet.

E.g.: when someone opens the Internet Explorer, at the first access to the internet, a window appears asking for the user's login and password to the proxy. When it is entered correctly, the access to the internet is given.

As many users have access to these computers, for security reasons, this password is not stored at the the Internt Connection Configuration in Control Panel.

Then we try to test the connection from Gateway to OnePacs Central PACS, any window is being shown for entering these login information, so the Gateway can't echo the OnePacs Central PACS.

Is there a way to store this login and password for the proxy inside the gateway?

Thanks

Paulo

Re: Proxy authentication

Posted: Thu Nov 26, 2015 9:53 am
by justin
Hi Paulo,

You could try the following:

1) Uninstall the Gateway service. Open a command prompt and to go C:\onepacs\gateway\bin

execute:

Code: Select all

install_service.bat uninstall
2) Edit C:\onepacs\gateway\bin\install_service.bat with a text editor

Add this line near the section where you see other lines beining with "set JAVA_OPTS..." (somewhere around line 60), substituting <USER> and <PASSWORD> with your credentials.

Code: Select all

set JAVA_OPTS=%JAVA_OPTS% -DproxyAuth=true -DproxyAuthUser=<USER> -DproxyAuthPassword=<PASSWORD>
Save the file.

3) Reinstall the service. Open a command prompt and to go C:\onepacs\gateway\bin

execute:

Code: Select all

install_service.bat server
Hope that helps.

Regards,

Justin

Re: Proxy authentication

Posted: Thu Nov 26, 2015 11:10 am
by jacintor
Many thanks for the prompt reply! Unfortunately it didn't work. We tried this instead but also did not work:

set JAVA_OPTS=%JAVA_OPTS% -DproxySet=true -DproxyHost=<PROXY IP> -DproxyPort=<PROXY PORT> DproxyAuth=true -DproxyAuthUser=<USER> -DproxyAuthPassword=<PASSWORD>

Any other ideas on how to make this work?

Thanks!

Rodrigo