Proxy authentication

Historical record of a forum that was for discussion of the setup, configuration, and use of OnePacs for research and educational purposes (non-clinical use).

Please direct any support inquiries through the standard OnePacs ticketing and support system.

The "Announcements" forum will continue to be active and contain announcements related to the OnePacs system.
Locked
paulokuriki
Posts: 43
Joined: Fri Sep 27, 2013 7:30 am

Proxy authentication

Post by paulokuriki » Thu Nov 26, 2015 9:09 am

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

justin
Posts: 371
Joined: Wed Nov 26, 2008 2:34 pm

Re: Proxy authentication

Post by justin » Thu Nov 26, 2015 9:53 am

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

jacintor
Posts: 85
Joined: Fri Nov 23, 2012 5:56 am

Re: Proxy authentication

Post by jacintor » Thu Nov 26, 2015 11:10 am

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

Locked