Author: ruchithf
Date: Sat Jul 14 03:14:12 2007
New Revision: 556255

URL: http://svn.apache.org/viewvc?view=rev&rev=556255
Log:
Fixed more typos ... Eclipse spell checker rocks !!! :-)


Modified:
    webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecBase.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDKEncrypt.java
    webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDKSign.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDerivedKeyBase.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSAMLToken.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSignature.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSignatureConfirmation.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecTimestamp.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecUsernameToken.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSignEnvelope.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/PKIPathSecurity.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/SecurityTokenReference.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/UsernameToken.java
    
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/X509Security.java

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecBase.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecBase.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecBase.java 
(original)
+++ webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecBase.java 
Sat Jul 14 03:14:12 2007
@@ -112,7 +112,7 @@
         * Looks up or adds a body id. <p/> First try to locate the
         * <code>wsu:Id</code> in the SOAP body element. If one is found, the
         * value of the <code>wsu:Id</code> attribute is returned. Otherwise the
-        * methode generates a new <code>wsu:Id</code> and an appropriate value.
+        * method generates a new <code>wsu:Id</code> and an appropriate value.
         * 
         * @param doc
         *            The SOAP envelope as <code>Document</code>

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDKEncrypt.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDKEncrypt.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDKEncrypt.java 
(original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDKEncrypt.java 
Sat Jul 14 03:14:12 2007
@@ -38,7 +38,7 @@
 import java.util.Vector;
 
 /**
- * Encrypts and signes parts of a message with derived keys derived from a
+ * Encrypts and signs parts of a message with derived keys derived from a
  * symmetric key. This symmetric key will be included as an EncryptedKey
  * 
  * @author Ruchith Fernando ([EMAIL PROTECTED])

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDKSign.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDKSign.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDKSign.java 
(original)
+++ webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDKSign.java 
Sat Jul 14 03:14:12 2007
@@ -235,7 +235,7 @@
      * The added references are signed when calling
      * <code>computeSignature()</code>. This method can be called several
      * times to add references as required. <code>addReferencesToSign()</code>
-     * can be called anytime after <code>prepare</code>.
+     * can be called any time after <code>prepare</code>.
      * 
      * @param references
      *            A vector containing <code>WSEncryptionPart</code> objects
@@ -260,7 +260,7 @@
             String nmSpace = encPart.getNamespace();
 
             /*
-             * Set up the elements to sign. There are two resevered element
+             * Set up the elements to sign. There are two reserved element
              * names: "Token" and "STRTransform" "Token": Setup the Signature 
to
              * either sign the information that points to the security token or
              * the token itself. If its a direct reference sign the token,
@@ -411,7 +411,7 @@
      * Compute the Signature over the references.
      * 
      * After references are set this method computes the Signature for them.
-     * This method can be called anytime after the references were set. See
+     * This method can be called any time after the references were set. See
      * <code>addReferencesToSign()</code>.
      * 
      * @throws WSSecurityException

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDerivedKeyBase.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDerivedKeyBase.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDerivedKeyBase.java
 (original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecDerivedKeyBase.java
 Sat Jul 14 03:14:12 2007
@@ -158,7 +158,7 @@
     /**
      * Initialize a WSSec Derived key.
      * 
-     * The method prepares and initializes a WSSec dereived key structure 
after the
+     * The method prepares and initializes a WSSec derived key structure after 
the
      * relevant information was set. This method also creates and initializes 
the
      * derived token using the ephemeral key. After preparation references
      * can be added, encrypted and signed as required.

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSAMLToken.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSAMLToken.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSAMLToken.java 
(original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSAMLToken.java 
Sat Jul 14 03:14:12 2007
@@ -54,7 +54,7 @@
      * constructed.
      * 
      * @param doc
-     *            The SOAP enevlope as W3C document
+     *            The SOAP envelope as W3C document
      */
     public void prepare(Document doc, SAMLAssertion assertion) {
         document = doc;
@@ -105,7 +105,7 @@
      * A complete <code>SAMLAssertion</code> is added to the
      * <code>wsse:Security</code> header.
      *
-     * @param doc      The SOAP enevlope as W3C document
+     * @param doc      The SOAP envelope as W3C document
      * @param assertion TODO
      * @return Document with UsernameToken added
      */

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSignature.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSignature.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSignature.java 
(original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSignature.java 
Sat Jul 14 03:14:12 2007
@@ -60,7 +60,7 @@
 /**
  * Creates a Signature according to WS Specification, X509 profile.
  * 
- * This class is a refactored implementation of the previous WSS4J class
+ * This class is a re-factored implementation of the previous WSS4J class
  * <code>WSSignEnvlope</code>. This new class allows better control of
  * the process to create a Signature and to add it to the Security header.
  * 
@@ -133,7 +133,7 @@
        /**
         * Get the single cert flag.
         * 
-        * @return A blolean if single vertificate is set.
+        * @return A boolean if single certificate is set.
         */
        public boolean isUseSingleCertificate() {
                return this.useSingleCert;
@@ -143,7 +143,7 @@
         * Set the name of the signature encryption algorithm to use.
         * 
         * If the algorithm is not set then an automatic detection of the 
signature
-        * algorithm to use is perfomed during the <code>prepare()</code>
+        * algorithm to use is performed during the <code>prepare()</code>
         * method. Refer to WSConstants which algorithms are supported.
         * 
         * @param algo
@@ -159,7 +159,7 @@
         * Get the name of the signature algorithm that is being used.
         * 
         * Call this method after <code>prepare</code> to get the information
-        * which signature algorithem was automaticall detected if no signature
+        * which signature algorithm was automatically detected if no signature
         * algorithm was preset.
         * 
         * @return the identifier URI of the signature algorithm
@@ -265,7 +265,7 @@
         *            An instance of the Crypto API to handle keystore and
         *            certificates
         * @param secHeader
-        *            The security header that will hold the Signature. This 
ise use
+        *            The security header that will hold the Signature. This is 
used
         *            to construct namespace prefixes for Signature. This method
         * @throws WSSecurityException
         */
@@ -273,7 +273,7 @@
                        throws WSSecurityException {
                /*
                 * Gather some info about the document to process and store it 
for
-                * retrival
+                * retrieval
                 */
                crypto = cr;
                document = doc;
@@ -295,7 +295,7 @@
                        }
                        certUri = "CertId-" + certs[0].hashCode();
                        /*
-                        * If no signature algo was set try to detect it 
accroding to the
+                        * If no signature algo was set try to detect it 
according to the
                         * data stored in the certificate.
                         */
                        if (sigAlgo == null) {
@@ -309,7 +309,7 @@
                                        throw new WSSecurityException(
                                                        
WSSecurityException.FAILURE,
                                                        "invalidX509Data",
-                                                       new Object[] { "for 
Signature - unkown public key Algo" });
+                                                       new Object[] { "for 
Signature - unknown public key Algo" });
                                }
                        }
                }
@@ -656,7 +656,7 @@
         * Compute the Signature over the references.
         * 
         * After references are set this method computes the Signature for them.
-        * This method can be called anytime after the references were set. See
+        * This method can be called any time after the references were set. See
         * <code>addReferencesToSign()</code>.
         * 
         * @throws WSSecurityException

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSignatureConfirmation.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSignatureConfirmation.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSignatureConfirmation.java
 (original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecSignatureConfirmation.java
 Sat Jul 14 03:14:12 2007
@@ -66,7 +66,7 @@
         * filed <code>signatureValue</code> must be set
         * 
         * @param doc
-        *            The SOAP enevlope as W3C document
+        *            The SOAP envelope as W3C document
         */
        public void prepare(Document doc) {
                document = doc;

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecTimestamp.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecTimestamp.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecTimestamp.java 
(original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecTimestamp.java 
Sat Jul 14 03:14:12 2007
@@ -101,7 +101,7 @@
      * <code>wsse:Security</code> header.
      * 
      * @param doc
-     *            The SOAP enevlope as W3C document
+     *            The SOAP envelope as W3C document
      * @param secHeader
      *            The security header that hold this Timestamp
      * @return Document with Timestamp added

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecUsernameToken.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecUsernameToken.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecUsernameToken.java
 (original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSecUsernameToken.java
 Sat Jul 14 03:14:12 2007
@@ -130,7 +130,7 @@
         * constructed.
         * 
         * @param doc
-        *            The SOAP enevlope as W3C document
+        *            The SOAP envelope as W3C document
         */
        public void prepare(Document doc) {
                document = doc;
@@ -188,7 +188,7 @@
         * <code>wsse:Security</code> header.
         * 
         * @param doc
-        *            The SOAP enevlope as W3C document
+        *            The SOAP envelope as W3C document
         * @param secHeader
         *            The security header inside the SOAP envelope
         * @return Document with UsernameToken added

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSignEnvelope.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSignEnvelope.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSignEnvelope.java 
(original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/WSSignEnvelope.java 
Sat Jul 14 03:14:12 2007
@@ -238,7 +238,7 @@
 
         /*
          * Gather some info about the document to process and store it for
-         * retrival
+         * retrieval
          */
         WSDocInfo wsDocInfo = new WSDocInfo(doc.hashCode());
         wsDocInfo.setCrypto(crypto);
@@ -348,7 +348,7 @@
             String nmSpace = encPart.getNamespace();
 
             /*
-             * Set up the elements to sign. There are two resevered element
+             * Set up the elements to sign. There are two reserved element
              * names: "Token" and "STRTransform" "Token": Setup the Signature 
to
              * either sign the information that points to the security token or
              * the token itself. If its a direct reference sign the token,

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java
 (original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java
 Sat Jul 14 03:14:12 2007
@@ -320,7 +320,7 @@
             
this.elementGeneration.appendChild(this.element.getOwnerDocument().createTextNode(Integer.toString(generation)));
             this.element.appendChild(this.elementGeneration);
         } else {
-            throw new ConversationException("Generatation cannot be set along 
with offset - Offset is already set");
+            throw new ConversationException("Generation cannot be set along 
with offset - Offset is already set");
         }
     }
 
@@ -440,7 +440,7 @@
     }
 
     /**
-     * Gets the derivattion algorithm
+     * Gets the derivation algorithm
      *
      * @return the value of the <code>wsc:Algorithm</code> attribute of this
      *         DerivedKeyToken
@@ -456,7 +456,7 @@
     }
 
     /**
-     * Set the derivattion algorithm of this derived key token.
+     * Set the derivation algorithm of this derived key token.
      *
      * @param derivattion algorithm the value for the 
<code>wsu:Algorithm</code> attribute of this
      *                    DerivgedKeyToken

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/PKIPathSecurity.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/token/PKIPathSecurity.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/PKIPathSecurity.java
 (original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/PKIPathSecurity.java
 Sat Jul 14 03:14:12 2007
@@ -66,7 +66,7 @@
      *
      * @param reverse
      * @param crypto
-     * @return array of certifcates 
+     * @return array of certificates 
      * @throws WSSecurityException
      */
     public X509Certificate[] getX509Certificates(boolean reverse, Crypto 
crypto)

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/SecurityTokenReference.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/token/SecurityTokenReference.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/SecurityTokenReference.java
 (original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/SecurityTokenReference.java
 Sat Jul 14 03:14:12 2007
@@ -212,7 +212,7 @@
     }
 
     /*
-     * Here the methods that handle the various key identifer types
+     * Here the methods that handle the various key identifier types
      * such as KeyIdentifier, SubjectKeyIdentifier (SKI)
      */
 
@@ -222,7 +222,7 @@
      * it into a <code>wsse:KeyIdentifier</code> element, which is placed
      * in the <code>wsse:SecurityTokenReference</code> element.
      *
-     * @param cert is the X509 certficate to be inserted as key identifier
+     * @param cert is the X509 certificate to be inserted as key identifier
      */
     public void setKeyIdentifier(X509Certificate cert)
             throws WSSecurityException {
@@ -244,7 +244,7 @@
      * inserts it into a <code>wsse:KeyIdentifier</code> element, which is 
placed
      * in the <code>wsse:SecurityTokenReference</code> element.
      *
-     * @param cert   is the X509 certficate to get the SKI
+     * @param cert   is the X509 certificate to get the SKI
      * @param crypto is the Crypto implementation. Used to read SKI info bytes 
from certificate
      */
     public void setKeyIdentifierSKI(X509Certificate cert, Crypto crypto)
@@ -265,7 +265,7 @@
      * element.
      * 
      * @param cert
-     *            is the X509 certficate to get the thumbprint
+     *            is the X509 certificate to get the thumbprint
      */
     public void setKeyIdentifierThumb(X509Certificate cert)
             throws WSSecurityException {
@@ -315,7 +315,7 @@
     /**
      * Gets the KeyIdentifer.
      *
-     * @return the the X509 certficate or zero if a unknown key identifier
+     * @return the the X509 certificate or zero if a unknown key identifier
      *         type was detected.
      */
     public X509Certificate[] getKeyIdentifier(Crypto crypto)
@@ -385,7 +385,7 @@
     }
 
     /*
-     * Here the methods that handle the IssuerSerial key identifiaton
+     * Here the methods that handle the IssuerSerial key identification
      */
 
     /**
@@ -466,7 +466,7 @@
     }
 
     /*
-     * Several helper and utility mehtods.
+     * Several helper and utility methods.
      */
 
     /**

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/UsernameToken.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/token/UsernameToken.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/UsernameToken.java
 (original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/UsernameToken.java
 Sat Jul 14 03:14:12 2007
@@ -145,7 +145,7 @@
 
     /**
      * Constructs a <code>UsernameToken</code> object according to the defined
-     * parameters. <p/> This constructes set the password encoding to
+     * parameters. <p/> This constructs set the password encoding to
      * [EMAIL PROTECTED] WSConstants#PASSWORD_DIGEST}
      * 
      * @param doc
@@ -241,7 +241,7 @@
     }
 
     /**
-     * Adds and otionally creates a Salt element to this UsernameToken.
+     * Adds and optionally creates a Salt element to this UsernameToken.
      * 
      * If the <code>saltCalue</code> is <code>null</code> the the method
      * generates a new salt. Otherwise it uses the the given value.
@@ -366,7 +366,7 @@
     }
 
     /**
-     * Get the hashed inidicator. If the indicator is
+     * Get the hashed indicator. If the indicator is
      * <code>true> the password of the
      * <code>UsernameToken</code> was encoded using
      * [EMAIL PROTECTED] WSConstants#PASSWORD_DIGEST}
@@ -455,7 +455,7 @@
     }
 
     /**
-     * Returns the data of an elemen as String or null if either the the 
element
+     * Returns the data of an element as String or null if either the the 
element
      * does not contain a Text node or the node is empty.
      * 
      * @param e
@@ -519,7 +519,7 @@
      * to generate the secret key. These default values are suitable for .NET
      * WSE.
      * 
-     * @return a secret key constructed from information conatined in this
+     * @return a secret key constructed from information contained in this
      *         username token
      */
     public byte[] getSecretKey() {
@@ -534,7 +534,7 @@
      *            How many bytes to generate for the key
      * @param labelString
      *            the label used to generate the seed
-     * @return a secret key constructed from information conatined in this
+     * @return a secret key constructed from information contained in this
      *         username token
      */
     public byte[] getSecretKey(int keylen, String labelString) {
@@ -581,7 +581,7 @@
      * @param salt
      *            The Salt value
      * @param iteration
-     *            The Iteration value. If zero (0) is given the mehtod uses the
+     *            The Iteration value. If zero (0) is given the method uses the
      *            default value
      * @return Returns the derived key a byte array
      * @throws WSSecurityException
@@ -650,7 +650,7 @@
      *            the HMAC algorithm
      * @param required
      *            number of bytes to generate
-     * @return a byte array that conatins a secrect key
+     * @return a byte array that contains a secret key
      * @throws Exception
      */
     private static byte[] P_hash(byte[] secret, byte[] seed, Mac mac,

Modified: 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/X509Security.java
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/token/X509Security.java?view=diff&rev=556255&r1=556254&r2=556255
==============================================================================
--- 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/X509Security.java
 (original)
+++ 
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/X509Security.java
 Sat Jul 14 03:14:12 2007
@@ -43,7 +43,7 @@
 
     /**
      * This constructor creates a new X509 certificate object and initializes
-     * it from the data containe in the element.
+     * it from the data contained in the element.
      *
      * @param elem      the element containing the X509 certificate data
      * @throws WSSecurityException



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to