amattheu    2004/03/29 02:18:02

  Modified:    src/org/apache/xml/security/encryption XMLCipher.java
  Log:
  Adjusted loging level.
  
  Revision  Changes    Path
  1.24      +6 -6      
xml-security/src/org/apache/xml/security/encryption/XMLCipher.java
  
  Index: XMLCipher.java
  ===================================================================
  RCS file: 
/home/cvs/xml-security/src/org/apache/xml/security/encryption/XMLCipher.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- XMLCipher.java    8 Mar 2004 09:50:18 -0000       1.23
  +++ XMLCipher.java    29 Mar 2004 10:18:01 -0000      1.24
  @@ -704,7 +704,7 @@
           if(null == element) 
               logger.error("Element unexpectedly null...");
           if(_cipherMode != ENCRYPT_MODE)
  -            logger.error("XMLCipher unexpectedly not in ENCRYPT_MODE...");
  +            logger.debug("XMLCipher unexpectedly not in ENCRYPT_MODE...");
   
                if (_algorithm == null) {
                throw new XMLEncryptionException("XMLCipher instance without 
transformation specified");
  @@ -738,7 +738,7 @@
           if(null == element) 
               logger.error("Element unexpectedly null...");
           if(_cipherMode != ENCRYPT_MODE)
  -            logger.error("XMLCipher unexpectedly not in ENCRYPT_MODE...");
  +            logger.debug("XMLCipher unexpectedly not in ENCRYPT_MODE...");
   
                if (_algorithm == null) {
                throw new XMLEncryptionException("XMLCipher instance without 
transformation specified");
  @@ -952,7 +952,7 @@
                if (null == element)
                        logger.error("Element unexpectedly null...");
                if (_cipherMode != ENCRYPT_MODE)
  -                     logger.error("XMLCipher unexpectedly not in 
ENCRYPT_MODE...");
  +                     logger.debug("XMLCipher unexpectedly not in 
ENCRYPT_MODE...");
   
                _contextDocument = context;
   
  @@ -1116,7 +1116,7 @@
           if(null == element)
               logger.error("Element unexpectedly null...");
           if(_cipherMode != UNWRAP_MODE && _cipherMode != DECRYPT_MODE)
  -            logger.error("XMLCipher unexpectedly not in UNWRAP_MODE or 
DECRYPT_MODE...");
  +            logger.debug("XMLCipher unexpectedly not in UNWRAP_MODE or 
DECRYPT_MODE...");
   
           _contextDocument = context;
           _ek = _factory.newEncryptedKey(element);
  @@ -1156,7 +1156,7 @@
           if(null == key) 
               logger.error("Key unexpectedly null...");
           if(_cipherMode != WRAP_MODE)
  -            logger.error("XMLCipher unexpectedly not in WRAP_MODE...");
  +            logger.debug("XMLCipher unexpectedly not in WRAP_MODE...");
   
                if (_algorithm == null) {
   
  @@ -1243,7 +1243,7 @@
           logger.debug("Decrypting key from previously loaded 
EncryptedKey...");
   
           if(_cipherMode != UNWRAP_MODE)
  -            logger.error("XMLCipher unexpectedly not in UNWRAP_MODE...");
  +            logger.debug("XMLCipher unexpectedly not in UNWRAP_MODE...");
   
                if (algorithm == null) {
                        throw new XMLEncryptionException("Cannot decrypt a key 
without knowing the algorithm");
  
  
  

Reply via email to