<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.jacorb.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://www.jacorb.org/bugzilla/"
          
          maintainer="jacorb@goots.org"
>

    <bug>
          <bug_id>820</bug_id>
          
          <creation_ts>2008-01-10 18:24:53 +0000</creation_ts>
          <short_desc>SSL config params in jacorb properties are not read as hex in some files</short_desc>
          <delta_ts>2014-04-25 06:29:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>JacORB</product>
          <component>SSL/IIOP</component>
          <version>2.3.0</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Terry Xie">txie</reporter>
          <assigned_to name="Gerald Brose">gerald.brose</assigned_to>
          <cc>jacorb</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2281</commentid>
    <comment_count>0</comment_count>
    <who name="Terry Xie">txie</who>
    <bug_when>2008-01-10 18:24:53 +0000</bug_when>
    <thetext>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
(&quot;jacorb.security.ssl.client.required_options&quot;, 16);
            	Integer.parseInt(
                        configuration.getAttribute
(&quot;jacorb.security.ssl.client.required_options&quot;,&quot;0&quot;),
                        16);
            client_supported =
                //configuration.getAttributeAsInteger
(&quot;jacorb.security.ssl.client.supported_options&quot;,16);
            
            	Integer.parseInt(
                    configuration.getAttribute
(&quot;jacorb.security.ssl.client.supported_options&quot;,&quot;0&quot;),
                    16);            
        }


ServerRequestListener
            int required =
                //configuration.getAttributeAsInteger
(&quot;jacorb.security.ssl.server.required_options&quot;,16);
            	//Terry: fix bug - it is a hex
            	Integer.parseInt(
                        configuration.getAttribute
(&quot;jacorb.security.ssl.server.required_options&quot;,&quot;0&quot;),
                        16);                 	
            	

BTW, the JACORB programming guide is not clear on those required/support 
options&apos; descriptions. They are hard to understand!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2719</commentid>
    <comment_count>1</comment_count>
    <who name="Nick Cross">rnc</who>
    <bug_when>2011-05-12 15:17:33 +0000</bug_when>
    <thetext>Fix committed to CVS head. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3128</commentid>
    <comment_count>2</comment_count>
    <who name="Terry Xie">txie</who>
    <bug_when>2014-04-24 17:34:42 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3129</commentid>
    <comment_count>3</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2014-04-25 06:29:29 +0000</bug_when>
    <thetext>Fixed by 29af157e7c02ce0facf1dedb7878e925e9c6b6ed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>