-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jargon breaking GSI by zapping list of CAs #137
Comments
thanks! I'll stick that in the master so we can test it out. On Wed, Jul 29, 2015 at 1:31 AM, Vladimir Mencl [email protected]
|
Hi Michael, Thanks! Not sure which of the options is more appropriate - following general Java conventions, I'd think changing the default value of GSIIRODSAccount.certificateAuthority to null as the best option... Cheers, |
I decided on the former (length check) because generally I've tried to avoid nulls in string values as an indicator (to avoid surprise NPEs) |
Hi,
I had an issue where GSI login wasn't working for me with Jargon 4.0.2.3-RELEASE - I was getting an Unknown CA error despite having the CA certificates installed.
I tracked it down to this piece of code in GSIAuth.java
The problem is that GSIIRODSAccount.certificateAuthority is initialized as an empty String, not null:
I got around this with:
but the proper solution would (likely) be to change the default value of GSIIRODSAccount.certificateAuthority to null.
Submitting this as an Issue and not a Pull Request as further discussion may be needed...
Cheers,
Vlad
The text was updated successfully, but these errors were encountered: