You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by jk...@apache.org on 2006/11/18 00:18:49 UTC

svn commit: r476360 - in /incubator/woden/trunk/java: src/org/apache/woden/ant/ src/org/apache/woden/internal/wsdl20/extensions/ src/org/apache/woden/internal/wsdl20/extensions/http/ src/org/apache/woden/internal/wsdl20/extensions/soap/ src/org/apache/...

Author: jkaputin
Date: Fri Nov 17 15:18:48 2006
New Revision: 476360

URL: http://svn.apache.org/viewvc?view=rev&rev=476360
Log:
[WODEN-94] Corrected the spelling of Authenication
to Authentication for classes and methods declaring
or referring to HTTP authentication scheme.

Added:
    incubator/woden/trunk/java/src/org/apache/woden/internal/xml/HTTPAuthenticationSchemeAttrImpl.java
      - copied, changed from r475225, incubator/woden/trunk/java/src/org/apache/woden/internal/xml/HTTPAuthenicationSchemeAttrImpl.java
Removed:
    incubator/woden/trunk/java/src/org/apache/woden/internal/xml/HTTPAuthenicationSchemeAttrImpl.java
Modified:
    incubator/woden/trunk/java/src/org/apache/woden/ant/CmHttpWriter.java
    incubator/woden/trunk/java/src/org/apache/woden/ant/CmSoapWriter.java
    incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/PopulatedExtensionRegistry.java
    incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPEndpointExtensionsImpl.java
    incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/soap/SOAPEndpointExtensionsImpl.java
    incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPAuthenticationScheme.java
    incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensions.java
    incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPEndpointExtensions.java
    incubator/woden/trunk/java/test/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensionsTest.java

Modified: incubator/woden/trunk/java/src/org/apache/woden/ant/CmHttpWriter.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/ant/CmHttpWriter.java?view=diff&rev=476360&r1=476359&r2=476360
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/ant/CmHttpWriter.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/ant/CmHttpWriter.java Fri Nov 17 15:18:48 2006
@@ -131,7 +131,7 @@
         out.write(PREFIX + ":httpAuthenticationRealm", http
                 .getHttpAuthenticationRealm());
         write(PREFIX + ":httpAuthenticationScheme", http
-                .getHttpAuthenicationScheme());
+                .getHttpAuthenticationScheme());
 
         out.endElement();
     }

Modified: incubator/woden/trunk/java/src/org/apache/woden/ant/CmSoapWriter.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/ant/CmSoapWriter.java?view=diff&rev=476360&r1=476359&r2=476360
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/ant/CmSoapWriter.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/ant/CmSoapWriter.java Fri Nov 17 15:18:48 2006
@@ -146,7 +146,7 @@
         out.beginElement(PREFIX + ":soapEndpointExtension");
         
         out.write(CmHttpWriter.PREFIX + ":httpAuthenticationRealm", soap.getHttpAuthenticationRealm());
-        cmhttp.write(CmHttpWriter.PREFIX + ":httpAuthenticationScheme", soap.getHttpAuthenicationScheme());
+        cmhttp.write(CmHttpWriter.PREFIX + ":httpAuthenticationScheme", soap.getHttpAuthenticationScheme());
 
         out.endElement();
     }

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/PopulatedExtensionRegistry.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/PopulatedExtensionRegistry.java?view=diff&rev=476360&r1=476359&r2=476360
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/PopulatedExtensionRegistry.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/PopulatedExtensionRegistry.java Fri Nov 17 15:18:48 2006
@@ -38,7 +38,7 @@
 import org.apache.woden.internal.wsdl20.extensions.soap.SOAPModuleImpl;
 import org.apache.woden.internal.xml.ArgumentArrayAttrImpl;
 import org.apache.woden.internal.xml.BooleanAttrImpl;
-import org.apache.woden.internal.xml.HTTPAuthenicationSchemeAttrImpl;
+import org.apache.woden.internal.xml.HTTPAuthenticationSchemeAttrImpl;
 import org.apache.woden.internal.xml.IntOrTokenAnyAttrImpl;
 import org.apache.woden.internal.xml.QNameListOrTokenAnyAttrImpl;
 import org.apache.woden.internal.xml.QNameOrTokenAnyAttrImpl;
@@ -264,7 +264,7 @@
 
 		registerExtAttributeType(EndpointElement.class,
 				HTTPConstants.Q_ATTR_AUTHENTICATION_TYPE,
-				HTTPAuthenicationSchemeAttrImpl.class);
+				HTTPAuthenticationSchemeAttrImpl.class);
 
 		registerExtAttributeType(EndpointElement.class,
 				HTTPConstants.Q_ATTR_AUTHENTICATION_REALM, StringAttrImpl.class);

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPEndpointExtensionsImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPEndpointExtensionsImpl.java?view=diff&rev=476360&r1=476359&r2=476360
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPEndpointExtensionsImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/http/HTTPEndpointExtensionsImpl.java Fri Nov 17 15:18:48 2006
@@ -36,9 +36,9 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.woden.wsdl20.extensions.http.HTTPEndpointExtensions#getHttpAuthenicationScheme()
+	 * @see org.apache.woden.wsdl20.extensions.http.HTTPEndpointExtensions#getHttpAuthenticationScheme()
 	 */
-	public HTTPAuthenticationScheme getHttpAuthenicationScheme() {
+	public HTTPAuthenticationScheme getHttpAuthenticationScheme() {
 
 		HTTPAuthenticationSchemeAttr scheme = (HTTPAuthenticationSchemeAttr) ((WSDLElement) fParent)
 				.getExtensionAttribute(HTTPConstants.Q_ATTR_AUTHENTICATION_TYPE);

Modified: incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/soap/SOAPEndpointExtensionsImpl.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/soap/SOAPEndpointExtensionsImpl.java?view=diff&rev=476360&r1=476359&r2=476360
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/soap/SOAPEndpointExtensionsImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/wsdl20/extensions/soap/SOAPEndpointExtensionsImpl.java Fri Nov 17 15:18:48 2006
@@ -44,9 +44,9 @@
 	/*
 	 * (non-Javadoc)
 	 * 
-	 * @see org.apache.woden.wsdl20.extensions.soap.SOAPEndpointExtensions#getHttpAuthenicationScheme()
+	 * @see org.apache.woden.wsdl20.extensions.soap.SOAPEndpointExtensions#getHttpAuthenticationScheme()
 	 */
-	public HTTPAuthenticationScheme getHttpAuthenicationScheme() {
+	public HTTPAuthenticationScheme getHttpAuthenticationScheme() {
 
         Endpoint endpoint = (Endpoint) fParent;
         Binding binding = endpoint.getBinding();

Copied: incubator/woden/trunk/java/src/org/apache/woden/internal/xml/HTTPAuthenticationSchemeAttrImpl.java (from r475225, incubator/woden/trunk/java/src/org/apache/woden/internal/xml/HTTPAuthenicationSchemeAttrImpl.java)
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/internal/xml/HTTPAuthenticationSchemeAttrImpl.java?view=diff&rev=476360&p1=incubator/woden/trunk/java/src/org/apache/woden/internal/xml/HTTPAuthenicationSchemeAttrImpl.java&r1=475225&p2=incubator/woden/trunk/java/src/org/apache/woden/internal/xml/HTTPAuthenticationSchemeAttrImpl.java&r2=476360
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/internal/xml/HTTPAuthenicationSchemeAttrImpl.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/internal/xml/HTTPAuthenticationSchemeAttrImpl.java Fri Nov 17 15:18:48 2006
@@ -28,7 +28,7 @@
  * @author Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com)
  * 
  */
-public class HTTPAuthenicationSchemeAttrImpl extends XMLAttrImpl implements
+public class HTTPAuthenticationSchemeAttrImpl extends XMLAttrImpl implements
 		HTTPAuthenticationSchemeAttr {
 
 	/*

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPAuthenticationScheme.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPAuthenticationScheme.java?view=diff&rev=476360&r1=476359&r2=476360
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPAuthenticationScheme.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPAuthenticationScheme.java Fri Nov 17 15:18:48 2006
@@ -18,7 +18,7 @@
 /**
  * This class defines the values of the {http authentication scheme} property of
  * Endpoint as defined by the HTTP Binding extension. This property indicates
- * the HTTP authenication scheme used.
+ * the HTTP authentication scheme used.
  * 
  * <p>
  * The property is one of:

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensions.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensions.java?view=diff&rev=476360&r1=476359&r2=476360
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensions.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensions.java Fri Nov 17 15:18:48 2006
@@ -33,7 +33,7 @@
  */
 public interface HTTPEndpointExtensions extends ComponentExtensions {
 
-	public HTTPAuthenticationScheme getHttpAuthenicationScheme();
+	public HTTPAuthenticationScheme getHttpAuthenticationScheme();
 
 	public String getHttpAuthenticationRealm();
 }

Modified: incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPEndpointExtensions.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPEndpointExtensions.java?view=diff&rev=476360&r1=476359&r2=476360
==============================================================================
--- incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPEndpointExtensions.java (original)
+++ incubator/woden/trunk/java/src/org/apache/woden/wsdl20/extensions/soap/SOAPEndpointExtensions.java Fri Nov 17 15:18:48 2006
@@ -34,7 +34,7 @@
  */
 public interface SOAPEndpointExtensions extends ComponentExtensions {
 
-	public HTTPAuthenticationScheme getHttpAuthenicationScheme();
+	public HTTPAuthenticationScheme getHttpAuthenticationScheme();
 
 	public String getHttpAuthenticationRealm();
 }

Modified: incubator/woden/trunk/java/test/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensionsTest.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensionsTest.java?view=diff&rev=476360&r1=476359&r2=476360
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensionsTest.java (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/wsdl20/extensions/http/HTTPEndpointExtensionsTest.java Fri Nov 17 15:18:48 2006
@@ -88,7 +88,7 @@
      * Test that it returns null by default when the attribute is omitted 
      * from the WSDL.
      */
-    public void testGetHttpAuthenicationScheme() {
+    public void testGetHttpAuthenticationScheme() {
         
         //test "basic" parsed from WSDL
         Endpoint endpoint = fEndpoints[0];
@@ -97,7 +97,7 @@
                 .getComponentExtensionsForNamespace(
                     ComponentExtensions.URI_NS_HTTP);
         
-        HTTPAuthenticationScheme actual = httpEndpointExts.getHttpAuthenicationScheme();
+        HTTPAuthenticationScheme actual = httpEndpointExts.getHttpAuthenticationScheme();
         assertEquals("Unexpected value for http authentication scheme.", 
                 HTTPAuthenticationScheme.BASIC,
                 actual);
@@ -109,7 +109,7 @@
                 .getComponentExtensionsForNamespace(
                     ComponentExtensions.URI_NS_HTTP);
         
-        HTTPAuthenticationScheme actual2 = httpEndpointExts2.getHttpAuthenicationScheme();
+        HTTPAuthenticationScheme actual2 = httpEndpointExts2.getHttpAuthenticationScheme();
         assertEquals("Unexpected value for http authentication scheme.", 
                 HTTPAuthenticationScheme.DIGEST,
                 actual2);
@@ -121,7 +121,7 @@
                 .getComponentExtensionsForNamespace(
                     ComponentExtensions.URI_NS_HTTP);
         
-        HTTPAuthenticationScheme actual3 = httpEndpointExts3.getHttpAuthenicationScheme();
+        HTTPAuthenticationScheme actual3 = httpEndpointExts3.getHttpAuthenticationScheme();
         assertNull("Http authentication scheme did not default to null.", 
                 actual3);
     }



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