You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by kr...@jentro.com on 2002/02/06 08:54:34 UTC

[Patch]SecurityTool.java

*** /tmp/SecurityTool.java	Mi Feb  6 08:44:32 2002
--- /tmp/SecurityTool.java1735hPt	Mi Feb  6 08:44:32 2002
***************
*** 428,437 ****
      }        
  
      /**
!      * Get the key store password.
       *
!      * @return String key store password.
       */
      public static String getTrustStorePassword()
      {
          if (System.getProperty(TRUST_STORE_PASSWORD) != null)
--- 428,447 ----
      }        
  
      /**
!      * Set the trust store password.
       *
!      * @param String  trust store password.
       */
+     public static void setTrustStorePassword(String x)
+     {
+         trustStorePassword = x;
+     }        
+ 
+     /**
+      * Get the trust store password.
+      *
+      * @return String trust store password.
+      */
      public static String getTrustStorePassword()
      {
          if (System.getProperty(TRUST_STORE_PASSWORD) != null)
***************
*** 438,444 ****
          {
              return System.getProperty(TRUST_STORE_PASSWORD);
          }
!         if (keyStorePassword == null)
          {
              return DEFAULT_TRUST_STORE_PASSWORD;
          }
--- 448,454 ----
          {
              return System.getProperty(TRUST_STORE_PASSWORD);
          }
!         if (trustStorePassword == null)
          {
              return DEFAULT_TRUST_STORE_PASSWORD;
          }

Re: [Patch]SecurityTool.java

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Please include a description of why this change is necessary, both so
that someone will take the time to look at and so that we have
something to use for the commit log.  See
<http://jakarta.apache.org/site/source.html> for more info.

                             Thanks, Dan

kristianm@jentro.com writes:

> *** /tmp/SecurityTool.java	Mi Feb  6 08:44:32 2002
> --- /tmp/SecurityTool.java1735hPt	Mi Feb  6 08:44:32 2002
> ***************
> *** 428,437 ****
>       }        
>   
>       /**
> !      * Get the key store password.
>        *
> !      * @return String key store password.
>        */
>       public static String getTrustStorePassword()
>       {
>           if (System.getProperty(TRUST_STORE_PASSWORD) != null)
> --- 428,447 ----
>       }        
>   
>       /**
> !      * Set the trust store password.
>        *
> !      * @param String  trust store password.
>        */
> +     public static void setTrustStorePassword(String x)
> +     {
> +         trustStorePassword = x;
> +     }        
> + 
> +     /**
> +      * Get the trust store password.
> +      *
> +      * @return String trust store password.
> +      */
>       public static String getTrustStorePassword()
>       {
>           if (System.getProperty(TRUST_STORE_PASSWORD) != null)
> ***************
> *** 438,444 ****
>           {
>               return System.getProperty(TRUST_STORE_PASSWORD);
>           }
> !         if (keyStorePassword == null)
>           {
>               return DEFAULT_TRUST_STORE_PASSWORD;
>           }
> --- 448,454 ----
>           {
>               return System.getProperty(TRUST_STORE_PASSWORD);
>           }
> !         if (trustStorePassword == null)
>           {
>               return DEFAULT_TRUST_STORE_PASSWORD;
>           }

Re: [Patch]SecurityTool.java

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Please include a description of why this change is necessary, both so
that someone will take the time to look at and so that we have
something to use for the commit log.  See
<http://jakarta.apache.org/site/source.html> for more info.

                             Thanks, Dan

kristianm@jentro.com writes:

> *** /tmp/SecurityTool.java	Mi Feb  6 08:44:32 2002
> --- /tmp/SecurityTool.java1735hPt	Mi Feb  6 08:44:32 2002
> ***************
> *** 428,437 ****
>       }        
>   
>       /**
> !      * Get the key store password.
>        *
> !      * @return String key store password.
>        */
>       public static String getTrustStorePassword()
>       {
>           if (System.getProperty(TRUST_STORE_PASSWORD) != null)
> --- 428,447 ----
>       }        
>   
>       /**
> !      * Set the trust store password.
>        *
> !      * @param String  trust store password.
>        */
> +     public static void setTrustStorePassword(String x)
> +     {
> +         trustStorePassword = x;
> +     }        
> + 
> +     /**
> +      * Get the trust store password.
> +      *
> +      * @return String trust store password.
> +      */
>       public static String getTrustStorePassword()
>       {
>           if (System.getProperty(TRUST_STORE_PASSWORD) != null)
> ***************
> *** 438,444 ****
>           {
>               return System.getProperty(TRUST_STORE_PASSWORD);
>           }
> !         if (keyStorePassword == null)
>           {
>               return DEFAULT_TRUST_STORE_PASSWORD;
>           }
> --- 448,454 ----
>           {
>               return System.getProperty(TRUST_STORE_PASSWORD);
>           }
> !         if (trustStorePassword == null)
>           {
>               return DEFAULT_TRUST_STORE_PASSWORD;
>           }