jglobus / JGlobus

jGlobus is a collection of Java client libraries for Globus® Toolkit security, GRAM, and GridFTP.
http://www.globus.org/toolkit/jglobus/
Apache License 2.0
24 stars 44 forks source link

Feature/additional rdn support #70

Closed gbehrmann closed 11 years ago

gbehrmann commented 11 years ago

ssl-proxies: Add support for more RDN keywords

Java's X500Principal class only supports a limited number of RDN keywords. Real world certificates make use of many more keywords and bouncy castle and the EMI CANL library support hese. JGlobus 2 does not. This is a regression since JGlobus 1.x.

This patch adds additional mappings when mapping to and from the X500Principal class. The mappings are copied from bouncy castle 2.46 and CANL.

A unit test for a real world DN that we encountered on a dCache installation has been added.

kofemann commented 11 years ago

squash-committed https://github.com/jglobus/JGlobus/commit/dcc7e2574f676553870da785a89bfc90bfad2df2. I am closing the merge request.

kofemann commented 11 years ago

do we need to merge it into 2.0 as well?

bbockelm commented 11 years ago

I somehow got this half-merged into 2.0. I have fixed this and the unit tests are passing.

kofemann commented 11 years ago

I use

git cherry-pick -s and git commit --amend if some fixes required. this keeps tack of how the patch appeared in code.