You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by sg...@apache.org on 2005/03/01 13:16:33 UTC

cvs commit: jakarta-turbine-fulcrum/pbe project.xml

sgoeschl    2005/03/01 04:16:33

  Modified:    pbe/src/java/org/apache/fulcrum/pbe PBEService.java
                        PBEServiceImpl.java
               pbe      project.xml
  Log:
  Forgot to update the PBEService since it is referenced in fulcrum-resourcemanager
  
  Revision  Changes    Path
  1.2       +13 -1     jakarta-turbine-fulcrum/pbe/src/java/org/apache/fulcrum/pbe/PBEService.java
  
  Index: PBEService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/pbe/src/java/org/apache/fulcrum/pbe/PBEService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PBEService.java	16 Feb 2005 11:32:11 -0000	1.1
  +++ PBEService.java	1 Mar 2005 12:16:33 -0000	1.2
  @@ -58,7 +58,7 @@
           throws Exception;
   
       /**
  -     * Creates an decrypting input stream.
  +     * Creates a decrypting input stream.
        *
        * @param is the input stream to be wrapped
        * @param password the password to be used
  @@ -70,6 +70,18 @@
           throws GeneralSecurityException, IOException;
   
       /**
  +     * Creates a smart decrypting input stream. 
  +     *
  +     * @param is the input stream to be wrapped
  +     * @param password the password to be used
  +     * @return an decrypting input stream
  +     * @exception GeneralSecurityException accessing the JCE failed
  +     * @exception IOException an IOException occured during processing
  +     */
  +    InputStream getSmartInputStream( InputStream is, char[] password )
  +        throws GeneralSecurityException, IOException;
  +
  +    /**
        * Creates an encrypting output stream.
        *
        * @param os the output stream to be wrapped
  
  
  
  1.2       +13 -1     jakarta-turbine-fulcrum/pbe/src/java/org/apache/fulcrum/pbe/PBEServiceImpl.java
  
  Index: PBEServiceImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/pbe/src/java/org/apache/fulcrum/pbe/PBEServiceImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PBEServiceImpl.java	16 Feb 2005 11:32:11 -0000	1.1
  +++ PBEServiceImpl.java	1 Mar 2005 12:16:33 -0000	1.2
  @@ -171,7 +171,19 @@
               password
               );
       }
  -
  +    
  +    /**
  +     * @see org.apache.fulcrum.pbe.PBEService#getSmartInputStream(java.io.InputStream, char[])
  +     */
  +    public InputStream getSmartInputStream(InputStream is, char [] password)
  +        throws GeneralSecurityException, IOException
  +    {
  +        return this.getCryptoStreamFactory().getSmartInputStream(
  +            is,
  +            password
  +            );
  +    }
  +    
       /**
        * @see org.apache.fulcrum.pbe.PBEService#getOutputStream(java.io.OutputStream, char[])
        */
  
  
  
  1.2       +1 -1      jakarta-turbine-fulcrum/pbe/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/pbe/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml	16 Feb 2005 11:32:11 -0000	1.1
  +++ project.xml	1 Mar 2005 12:16:33 -0000	1.2
  @@ -3,7 +3,7 @@
     <extend>${basedir}/../project.xml</extend>
     <id>fulcrum-pbe</id>
     <name>Fulcrum PBE Component</name>
  -  <currentVersion>1.0</currentVersion>
  +  <currentVersion>1.0.0</currentVersion>
   
     <dependencies>
     
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org