The extracting of country code in getCountry method in STORKSAMLEngine class doesn't work for the Slovenian certificates, because in these certificates there is no comma after "C=si" in DN. I propose to add the line marked with MR.: int init = distName.indexOf(countryCode); int end = distName.indexOf(",", init); if (end < 0) end = distName.length(); //2010-04-19 MR I've also added the conversion to upper case a few lines below in the same method. I'm not sure if this is really needed but it doesn't hurt. In ISO the country codes are upper case. if (init < end && end >= 0) { result = distName.substring(init + countryCode.length(), end); result = result.toUpperCase(); //2010-04-19 MR. }
Hardware | None |
Product | SAML engine |
Operating System | None |
Component | SAML engine |
Version | None |
Severity | normal |
Resolution | None |