dCache / xrootd4j

Implementation of the xrootd data access protocol in Java
Other
3 stars 8 forks source link

xrootd4j: fix sec parsing and cert exception in gsi client handler #7

Closed alrossi closed 6 years ago

alrossi commented 6 years ago

Motivation:

Fix two small problems.

Modification:

Don't throw IllegalArgumentException, use GeneralSecurityException, when the cert doesn't load.

Fix validity check on parsing of the 'sec' argument.

Result:

Code is better.

Target: master Request: 3.3 Acked-by: Tigran