[jglobus-commit] CVS update: MODIFIED: myproxy, Params.java ...

Jaroslaw Gawor commit at globus.org
Mon Oct 23 14:12:36 CDT 2006


  User: gawor   
  Date: 06/10/23 14:12:36

  Modified:    src/org/globus/myproxy MyProxy.java MyProxyConstants.java
                        Params.java
  Log:
  bugfix 4806
  
  Revision  Changes    Path
  1.33      +2 -1      jglobus/src/org/globus/myproxy/MyProxy.java
  
  http://viewcvs.globus.org/viewcvs.cgi/jglobus/src/org/globus/myproxy/MyProxy.java?cvsroot=Java+COG&r1=1.32&r2=1.33
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MyProxy.java
  ===================================================================
  RCS file: /homes/dsl/cog/CVS/jglobus/src/org/globus/myproxy/MyProxy.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -b -r1.32 -r1.33
  --- MyProxy.java	29 Sep 2006 18:48:25 -0000	1.32
  +++ MyProxy.java	23 Oct 2006 19:12:36 -0000	1.33
  @@ -253,7 +253,8 @@
        *         The passphrase to use to encrypt the stored
        *         credentials.
        * @param  lifetime
  -     *         The requested lifetime of the stored credentials (in seconds).
  +     *         The maximum lifetime of credentials delegated by the server
  +     *         (in seconds).
        * @exception MyProxyException
        *            If an error occurred during the operation.
        */
  
  
  
  1.6       +5 -0      jglobus/src/org/globus/myproxy/MyProxyConstants.java
  
  http://viewcvs.globus.org/viewcvs.cgi/jglobus/src/org/globus/myproxy/MyProxyConstants.java?cvsroot=Java+COG&r1=1.5&r2=1.6
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MyProxyConstants.java
  ===================================================================
  RCS file: /homes/dsl/cog/CVS/jglobus/src/org/globus/myproxy/MyProxyConstants.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- MyProxyConstants.java	20 Jan 2006 20:21:30 -0000	1.5
  +++ MyProxyConstants.java	23 Oct 2006 19:12:36 -0000	1.6
  @@ -24,6 +24,11 @@
       /** MyProxy passwords must be 6 characters or longer. */
       public static final int MIN_PASSWORD_LENGTH         = 6;
   
  +    /** By default, put credentials with a policy restricting
  +        delegated credential lifetime to 12 hours or less, and get 12 hour
  +        credentials from the server.  */
  +    public static final int DEFAULT_LIFETIME            = 12 * 3600;
  +
       static final String VERSION    = "VERSION=" + MYPROXY_PROTOCOL_VERSION;
       static final String COMMAND    = "COMMAND=";
       static final String USERNAME   = "USERNAME=";
  
  
  
  1.9       +2 -1      jglobus/src/org/globus/myproxy/Params.java
  
  http://viewcvs.globus.org/viewcvs.cgi/jglobus/src/org/globus/myproxy/Params.java?cvsroot=Java+COG&r1=1.8&r2=1.9
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Params.java
  ===================================================================
  RCS file: /homes/dsl/cog/CVS/jglobus/src/org/globus/myproxy/Params.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- Params.java	26 Jul 2006 18:41:02 -0000	1.8
  +++ Params.java	23 Oct 2006 19:12:36 -0000	1.9
  @@ -26,7 +26,8 @@
   
       protected String username;
       protected String passphrase;
  -    protected int lifetime;
  +    /** Defaults to DEFAULT_LIFETIME (12 hours). */
  +    protected int lifetime = DEFAULT_LIFETIME;
       
       public Params(int command) {
           setCommand(command);
  
  
  




More information about the jglobus-commit mailing list