grisu / gricli

Grisu commandline client
7 stars 2 forks source link

Make myproxy server configurable #225

Closed mondkaefer closed 12 years ago

mondkaefer commented 12 years ago

The host and port of the myproxy server to be used by gricli to upload a user's credential is hard-coded. This makes it impossible for gricli to be used in a different environment, like a testbed. Make this more configurable.

The MyProxy server (or default server) seems to be hard-coded in various grisu packages

mondkaefer commented 12 years ago

I think it's also hard-coded in the backend.

mondkaefer commented 12 years ago

LIES! Seems like for both frontend and backend it goes down to GridEnvironment.getDefaultMyProxyServer() and GridEnvironment.getDefaultMyProxyPort() which (amongst other means) checks system properties myproxy.host and myproxy.port and only in the very end falls back to default values.

mondkaefer commented 12 years ago

This is not an issue. Using Java system properties works fine.