| Summary: | SSL config params in jacorb properties are not read as hex in some files | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | Terry Xie <txie> |
| Component: | SSL/IIOP | Assignee: | Gerald Brose <gerald.brose> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | jacorb |
| Priority: | P1 | ||
| Version: | 2.3.0 | ||
| Hardware: | PC | ||
| OS: | All | ||
Fix committed to CVS head. Please fix these as well which should be read as Hex: jacorb.security.ssl.corbaloc_ssliop.required_options jacorb.security.ssl.corbaloc_ssliop.supported_options Fixed by 29af157e7c02ce0facf1dedb7878e925e9c6b6ed |
There are two files in jacorb having the problem. The commented out code is original. I have done temporary fixes to get around it temporary. ClientIIOPConnection.java //only read in the properties if ssl is really supported. if( doSupportSSL ) { client_required = //configuration.getAttributeAsInteger ("jacorb.security.ssl.client.required_options", 16); Integer.parseInt( configuration.getAttribute ("jacorb.security.ssl.client.required_options","0"), 16); client_supported = //configuration.getAttributeAsInteger ("jacorb.security.ssl.client.supported_options",16); Integer.parseInt( configuration.getAttribute ("jacorb.security.ssl.client.supported_options","0"), 16); } ServerRequestListener int required = //configuration.getAttributeAsInteger ("jacorb.security.ssl.server.required_options",16); //Terry: fix bug - it is a hex Integer.parseInt( configuration.getAttribute ("jacorb.security.ssl.server.required_options","0"), 16); BTW, the JACORB programming guide is not clear on those required/support options' descriptions. They are hard to understand!