You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tsik-dev@ws.apache.org by ha...@apache.org on 2005/09/10 00:49:50 UTC
svn commit: r279902 [1/3] - in /incubator/tsik/trunk: ./ addons/ addons/src/
addons/src/org/ addons/src/org/apache/ addons/src/org/apache/tsik/
addons/src/org/apache/tsik/addon/ addons/src/org/apache/tsik/addon/messaging/
addons/src/org/apache/tsik/add...
Author: hans
Date: Fri Sep 9 15:49:44 2005
New Revision: 279902
URL: http://svn.apache.org/viewcvs?rev=279902&view=rev
Log:
TSIK now has three types of source.
1. core
2. plug-ins, where common functionality is abstracted into
pluggable components.
3. optional add-ons.
In this commit, the SOAP message functionality has been moved
into a pluggable architecture and the entire SOAP messagING
stack is now an optional add-on.
Added:
incubator/tsik/trunk/addons/
incubator/tsik/trunk/addons/src/
incubator/tsik/trunk/addons/src/org/
incubator/tsik/trunk/addons/src/org/apache/
incubator/tsik/trunk/addons/src/org/apache/tsik/
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/
- copied from r279809, incubator/tsik/trunk/src/org/apache/tsik/messaging/
incubator/tsik/trunk/addons/src/packages.txt
incubator/tsik/trunk/addons/test/
incubator/tsik/trunk/addons/test/data/
incubator/tsik/trunk/addons/test/data/messaging/
- copied from r239925, incubator/tsik/trunk/test/data/messaging/
incubator/tsik/trunk/addons/test/src/
incubator/tsik/trunk/addons/test/src/org/
incubator/tsik/trunk/addons/test/src/org/apache/
incubator/tsik/trunk/addons/test/src/org/apache/tsik/
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/
- copied from r239925, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/HttpHeaderTest.java
- copied, changed from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/HttpHeaderTest.java
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/MessageTestCase.java
- copied, changed from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/MessageTestCase.java
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/MessageTestSuite.java
- copied, changed from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/MessageTestSuite.java
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SimulatorFilter.java
- copied, changed from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/SimulatorFilter.java
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SimulatorTransport.java
- copied, changed from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/SimulatorTransport.java
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/WrapperTransport.java
- copied, changed from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/WrapperTransport.java
incubator/tsik/trunk/build.properties
incubator/tsik/trunk/plugins/
incubator/tsik/trunk/plugins/src/
incubator/tsik/trunk/plugins/src/org/
incubator/tsik/trunk/plugins/src/org/apache/
incubator/tsik/trunk/plugins/src/org/apache/tsik/
incubator/tsik/trunk/plugins/src/org/apache/tsik/plugin/
incubator/tsik/trunk/plugins/src/org/apache/tsik/plugin/TsikSoapEngine.java
incubator/tsik/trunk/plugins/src/org/apache/tsik/plugin/TsikSoapFault.java
incubator/tsik/trunk/plugins/src/org/apache/tsik/plugin/TsikSoapMessage.java
incubator/tsik/trunk/plugins/src/packages.txt
incubator/tsik/trunk/src/org/apache/tsik/plugins/
incubator/tsik/trunk/src/org/apache/tsik/plugins/SoapEngine.java
incubator/tsik/trunk/src/org/apache/tsik/plugins/SoapFactory.java
incubator/tsik/trunk/src/org/apache/tsik/plugins/SoapFault.java
incubator/tsik/trunk/src/org/apache/tsik/plugins/SoapFaultConstants.java
incubator/tsik/trunk/src/org/apache/tsik/plugins/SoapMessage.java
incubator/tsik/trunk/src/org/apache/tsik/plugins/SoapMessageConstants.java
incubator/tsik/trunk/src/org/apache/tsik/plugins/package.html
incubator/tsik/trunk/src/packages.txt
Removed:
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SoapFault.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SoapMessage.java
incubator/tsik/trunk/src/org/apache/tsik/messaging/
incubator/tsik/trunk/test/src/org/apache/tsik/messaging/
incubator/tsik/trunk/version.txt
Modified:
incubator/tsik/trunk/README.txt
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractRequest.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractResponse.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractTransport.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/InsecureTransportException.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageProvider.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageSecurity.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageValidity.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MissingSignatureException.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/ServiceFailureException.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SimpleRequest.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SimpleResponse.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlMessageException.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlRequest.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlResponse.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransport.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportDoc.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportNaked.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportSecurity.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportSoap.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/package.html
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/tools/SendXML.java
incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/tools/package.html
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SoapProcessingTest.java
incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/XmlMsgTestSuite.java
incubator/tsik/trunk/build.xml
incubator/tsik/trunk/src/org/apache/tsik/verifier/package.html
incubator/tsik/trunk/src/org/apache/tsik/wss/Wss.java
incubator/tsik/trunk/src/org/apache/tsik/wss/WssException.java
incubator/tsik/trunk/src/org/apache/tsik/wss/elements/Security.java
incubator/tsik/trunk/test/src/org/apache/tsik/testutils/TestUtils.java
incubator/tsik/trunk/test/src/org/apache/tsik/wsp/test/WspTest.java
incubator/tsik/trunk/test/src/org/apache/tsik/wss/test/WssTest.java
incubator/tsik/trunk/test/src/org/apache/tsik/wst/test/WstTest.java
incubator/tsik/trunk/test/src/org/apache/tsik/wsx/test/WsxTest.java
incubator/tsik/trunk/xdocs/overview.html
Modified: incubator/tsik/trunk/README.txt
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/README.txt?rev=279902&r1=279901&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/README.txt (original)
+++ incubator/tsik/trunk/README.txt Fri Sep 9 15:49:44 2005
@@ -1,7 +1,7 @@
$Id$
-IMPORTANT INFORMATION REGARDING IP RIGHTS AND AUTHORIZATIONS
-IS CONTAINED IN THE NOTICE.TXT FILE THAT END USERS MUST READ
+IMPORTANT INFORMATION REGARDING IP RIGHTS AND AUTHORIZATIONS
+IS CONTAINED IN THE NOTICE.TXT FILE THAT END USERS MUST READ
PRIOR TO USE.
@@ -10,8 +10,8 @@
Welcome to TSIK
---------------
-Apache TSIK is an XML/SOAP security library/toolkit that implements
-several of the WS-* standards as defined by both OASIS and W3C. Please
+Apache TSIK is an XML/SOAP security library/toolkit that implements
+several of the WS-* standards as defined by both OASIS and W3C. Please
see the javadocs API for more information.
Apache TSIK is currently in incubation with the Apache Software
@@ -25,41 +25,60 @@
http://incubator.apache.org/tsik/roadmap.html
+Parts
+-----
+
+TSIK can be built either as a monolithic jar (default), or as follows:
+
+
++---------------------------------------------+
+| TSIK core |
++---------------------------------------------+
++--------------+ +-------------+ +------------+
+| Messaging | | SOAP engine | | etc... |
++--------------+ +-------------+ +------------+
+
+The parts that build into separate JARs will abstract out functionality
+that originally existed in TSIK. This parts may already exist within other
+Apache projects, or they may be made available for future inclusion in
+a common code area.
+
+
Philosophy
----------
* Simplicity
Apache TSIK is developed with simplicity of use in mind. Originally
-developed by VeriSign, TSIK is based on a philosophy that
+developed by VeriSign, TSIK is based on a philosophy that
most application security errors occur when existing APIs are so
-complex that it becomes easy to use them incorrectly. TSIK
-therefore strives for simple APIs that cover main use cases.
+complex that it becomes easy to use them incorrectly. TSIK
+therefore strives for simple APIs that cover main use cases.
* Few dependencies
Apache TSIK has very few dependencies on other projects. It used
-the log4j logging sub system and that is it.
+the log4j logging sub system and that is it.
-TSIK compiles out of the box with JDK 1.3 and higher into a single
-jar, tsik.jar. The log4j jar file is included in the source
-distribution.
+TSIK compiles out of the box with JDK 1.3 and higher into a single
+jar, tsik.jar. The log4j jar file is included in the source
+distribution.
Apache TSIK comes with its own set of XML/SOAP utility classes to
create and parse XML.
* Interop driven
-Apache TSIK will be developed primarily by interop. If a toolkit
+Apache TSIK will be developed primarily by interop. If a toolkit
manages to interoperate via everyday scenarios (such are typically
-the scenarios at interop events), then it is a useful toolkit.
+the scenarios at interop events), then it is a useful toolkit.
Usability
---------
-Before landing at Apache, TSIK had been in development for over four
+Before landing at Apache, TSIK had been in development for over four
years, oftem by the same people who co-authored many of the underlying
-specifications. TSIK is today used in several commercial products and
+specifications. TSIK is today used in several commercial products and
considered quite stable.
@@ -69,16 +88,16 @@
* Get the source
Probably done since you're reading this :)
-* Set up ant.
+* Set up ant.
Make sure you can run JUnit tasks. This should be fairly straight-
- forward. (You can use the junit.jar in ./resources if you don't have
+ forward. (You can use the junit.jar in ./resources if you don't have
junit set up.)
-* Set up your Java JCE provider.
+* Set up your Java JCE provider.
If you don't have a JCE provider that provides RSA encryption and
signing, you need to install one. See e.g., http://www.bouncycastle.org/
-* Build the library, test it, and generate javadoc APIs with
+* Build the library, test it, and generate javadoc APIs with
$ ant build test api
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractRequest.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractRequest.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractRequest.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractRequest.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import org.w3c.dom.Document;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractResponse.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractResponse.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractResponse.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractResponse.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import org.w3c.dom.Document;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractTransport.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractTransport.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractTransport.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/AbstractTransport.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/InsecureTransportException.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/InsecureTransportException.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/InsecureTransportException.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/InsecureTransportException.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
/**
* This exception is thrown by {@link MessageProvider#checkTransport} when the
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageProvider.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageProvider.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageProvider.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageProvider.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import org.apache.tsik.verifier.AllPermissiveTrustVerifier;
import org.apache.tsik.verifier.TrustVerifier;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageSecurity.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageSecurity.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageSecurity.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageSecurity.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import java.security.GeneralSecurityException;
import java.security.Key;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageValidity.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageValidity.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageValidity.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MessageValidity.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import org.apache.tsik.domutil.DOMCursor;
import org.apache.tsik.xmlsig.KeyInfo;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MissingSignatureException.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MissingSignatureException.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MissingSignatureException.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/MissingSignatureException.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import org.apache.tsik.xpath.XPath;
import org.w3c.dom.Document;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/ServiceFailureException.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/ServiceFailureException.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/ServiceFailureException.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/ServiceFailureException.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import java.io.IOException;
import java.net.HttpURLConnection;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SimpleRequest.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SimpleRequest.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SimpleRequest.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SimpleRequest.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import org.w3c.dom.Document;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SimpleResponse.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SimpleResponse.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SimpleResponse.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/SimpleResponse.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import org.w3c.dom.Document;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlMessageException.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlMessageException.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlMessageException.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlMessageException.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import java.security.GeneralSecurityException;
import org.w3c.dom.Document;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlRequest.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlRequest.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlRequest.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlRequest.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import org.w3c.dom.Document;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlResponse.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlResponse.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlResponse.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlResponse.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import org.w3c.dom.Document;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransport.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransport.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransport.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransport.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import java.io.IOException;
import org.w3c.dom.Document;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportDoc.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportDoc.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportDoc.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportDoc.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import java.io.IOException;
import java.io.OutputStream;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportNaked.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportNaked.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportNaked.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportNaked.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import java.io.OutputStream;
import java.io.PrintStream;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportSecurity.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportSecurity.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportSecurity.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportSecurity.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import java.security.PrivateKey;
import java.security.PublicKey;
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportSoap.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportSoap.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportSoap.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/XmlTransportSoap.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging;
+package org.apache.tsik.addon.messaging;
import java.io.OutputStream;
import java.net.URL;
@@ -27,6 +29,10 @@
import java.util.List;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
+import org.apache.tsik.plugins.SoapMessage;
+import org.apache.tsik.plugins.SoapFactory;
+import org.apache.tsik.plugins.SoapEngine;
+import org.apache.tsik.plugins.SoapFault;
/**
* An HTTP/HTTPS transport that extends {@link XmlTransportNaked} to add SOAP
@@ -215,7 +221,8 @@
protected Document addRequestEnvelope(Document inputDoc)
throws XmlMessageException
{
- SoapMessage msg = new SoapMessage(inputDoc);
+ SoapEngine e = SoapFactory.getDefaultEngine();
+ SoapMessage msg = e.getSoapMessageInstance(inputDoc);
msg.setHeaders(getSoapRequestHeaders());
return msg.getDocument();
}
@@ -224,7 +231,8 @@
protected Document removeResponseEnvelope(Document wrappedOutputDoc)
throws XmlMessageException
{
- responseMsg = new SoapMessage(wrappedOutputDoc);
+ SoapEngine e = SoapFactory.getDefaultEngine();
+ responseMsg = e.getSoapMessageInstance(wrappedOutputDoc);
return responseMsg.extractBody();
}
}
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/package.html
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/package.html?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/package.html (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/package.html Fri Sep 9 15:49:44 2005
@@ -2,9 +2,8 @@
<!-- $Id$ -->
<body>
The messaging framework.
-<p> NOTE. This package is currently being evaluated for removal,
-keeping only <code>SoapMessage</code> and <code>SoapFault</code>
-as usable classes. </p>
+<p> NOTE. This package is an optional addon and therefore not part of the
+core TSIK package. </p>
<p> Provides an XML messaging framework for accessing web services. </p>
@@ -45,15 +44,16 @@
<ul>
<li> Each web service API provides request and response classes which describe
the messages sent to, and received from, the service. These messages implement
-the {@link org.apache.tsik.messaging.XmlRequest} and {@link
-org.apache.tsik.messaging.XmlResponse} interfaces. </li>
+the {@link org.apache.tsik.addon.messaging.XmlRequest} and {@link
+org.apache.tsik.addon.messaging.XmlResponse} interfaces. </li>
<li> A transport object is used to send a request to the service. Transport
classes for HTTP/HTTPS and SOAP are provided in the messaging package. These
may be extended by classes in the web service API or in the application. All
-transport classes implement the {@link org.apache.tsik.messaging.XmlTransport}
-interface. </li>
+transport classes implement the {@link
+org.apache.tsik.addon.messaging.XmlTransport} interface. </li>
<li> Each web service API includes a {@link
-org.apache.tsik.messaging.MessageProvider} object which is responsible for
+org.apache.tsik.addon.messaging.MessageProvider} object which is responsible
+for
translating request and response objects to and from their XML respresentation.
It also provides other information about the service interface, such as the
location of the signatures in the messages. </li>
@@ -62,13 +62,16 @@
<h3><a name="transports">Using Message Transports</a></h3>
<p> A transport object is used to send a message to a web service. Typically
-either the {@link org.apache.tsik.messaging.XmlTransportSoap} or {@link
-org.apache.tsik.messaging.XmlTransportNaked} class is used, depending on whether
+either the {@link org.apache.tsik.addon.messaging.XmlTransportSoap} or {@link
+org.apache.tsik.addon.messaging.XmlTransportNaked} class is used, depending
+on whether
SOAP is supported by the service. </p>
<p> Some web services may also accept signed and/or encrypted SOAP messages, in
-which case the {@link org.apache.tsik.messaging.XmlTransportSoap} class is used.
-operations. {@link org.apache.tsik.messaging.SoapMessage} may also be used
+which case the {@link org.apache.tsik.addon.messaging.XmlTransportSoap} class
+is used.
+operations. {@link org.apache.tsik.plugins.SoapMessage} may also be
+used
independently of the transport to implement a web service client, gateway, or
SOAP router. SOAP signing and encryption conforms to the WS-Security
specification (<a
@@ -120,15 +123,20 @@
or using a setter method. Each transport class supplies a constructor for
specifying a private key and public key, and another constructor for specifying
a private key and a certificate. The following setter methods are also
-provided in the {@link org.apache.tsik.messaging.XmlTransportSecurity} interface,
-which is implemented by {@link org.apache.tsik.messaging.AbstractTransport} and
+provided in the {@link org.apache.tsik.addon.messaging.XmlTransportSecurity}
+interface,
+which is implemented by
+{@link org.apache.tsik.addon.messaging.AbstractTransport} and
all its subclasses. </p>
<ul>
-<li> {@link org.apache.tsik.messaging.XmlTransportSecurity#setSigningPrivateKey}
+<li> {@link
+org.apache.tsik.addon.messaging.XmlTransportSecurity#setSigningPrivateKey}
</li>
-<li> {@link org.apache.tsik.messaging.XmlTransportSecurity#setSigningPublicKey}
+<li> {@link
+org.apache.tsik.addon.messaging.XmlTransportSecurity#setSigningPublicKey}
</li>
-<li> {@link org.apache.tsik.messaging.XmlTransportSecurity#setSigningCertificate}
+<li> {@link
+org.apache.tsik.addon.messaging.XmlTransportSecurity#setSigningCertificate}
</li>
</ul>
@@ -162,7 +170,8 @@
<p> The message provider, which is supplied transparently by the web service,
supplies a default trust verifier to the transport via the {@link
-org.apache.tsik.messaging.MessageProvider#getDefaultTrustVerifier} method.
+org.apache.tsik.addon.messaging.MessageProvider#getDefaultTrustVerifier}
+method.
Typically the default trust verifier checks that the signing key is known to be
a valid signing key for the particular web service in use. To determine the
specific behavior of the default trust verifier, see the web service's
@@ -172,9 +181,11 @@
most applications. However, applications may override default trust
verification if additional checking of the signing key is desired.
Applications may call {@link
-org.apache.tsik.messaging.XmlTransportSecurity#setTrustVerifier} to supply a custom
+org.apache.tsik.addon.messaging.XmlTransportSecurity#setTrustVerifier} to
+supply a custom
trust verifier for the transport. Applications may also override the {@link
-org.apache.tsik.messaging.MessageProvider#getDefaultTrustVerifier} method, as
+org.apache.tsik.addon.messaging.MessageProvider#getDefaultTrustVerifier}
+method, as
described <a href="#provider">below</a>. </p>
<h3><a name="validate">Enabling Schema Validation</a></h3>
@@ -188,8 +199,10 @@
<p> By default, schema validation is disabled. To enable schema validation,
call {@link
-org.apache.tsik.messaging.AbstractTransport#setRequestSchemaValidation} and/or
-{@link org.apache.tsik.messaging.AbstractTransport#setResponseSchemaValidation}.
+org.apache.tsik.addon.messaging.AbstractTransport#setRequestSchemaValidation}
+and/or
+{@link
+org.apache.tsik.addon.messaging.AbstractTransport#setResponseSchemaValidation}.
</p>
<p> The schema documents used to validate request and response messages are
@@ -197,7 +210,8 @@
specific to the web service. To use different schema documents, the
application must supply a custom message provider (see <a
href="#provider">below</a>) and override the {@link
-org.apache.tsik.messaging.MessageProvider#getSchemaDocuments} method. </p>
+org.apache.tsik.addon.messaging.MessageProvider#getSchemaDocuments}
+method. </p>
<h3><a name="debug">Troubleshooting and Debugging</a></h3>
@@ -210,41 +224,48 @@
transactions may fail while others succeed. </p>
<p> When an exception is thrown during message processing, it is normally a a
-subclass of {@link org.apache.tsik.messaging.XmlMessageException}. This exception
+subclass of {@link org.apache.tsik.addon.messaging.XmlMessageException}.
+This exception
class allows retrieving the underlying XML document that was being processed
-via the {@link org.apache.tsik.messaging.XmlMessageException#getXML} method.
+via the {@link org.apache.tsik.addon.messaging.XmlMessageException#getXML}
+method.
Printing the contents of this document can prove useful for determining the
cause of the error. </p>
<p> In addition, logging of all request and response message can be enabled
-by calling {@link org.apache.tsik.messaging.AbstractTransport#setLogOutput}.
+by calling {@link
+org.apache.tsik.addon.messaging.AbstractTransport#setLogOutput}.
The messages printed will include SOAP enveloping and signatures. </p>
<h3><a name="custom">Customizing Transport Behavior</a></h3>
-<p> {@link org.apache.tsik.messaging.AbstractTransport} is the base class for all
+<p> {@link org.apache.tsik.addon.messaging.AbstractTransport} is the base
+class for all
transports in the messaging package. It uses the standard {@link
java.net.URLConnection} class to send XML messages over HTTP/HTTPS. To
customize HTTP/HTTPS behavior (e.g., to set custom HTTP headers) a subclass of
the desired transport should be defined. In this subclass the {@link
-org.apache.tsik.messaging.AbstractTransport#beforeConnect} and/or {@link
-org.apache.tsik.messaging.AbstractTransport#afterConnect} methods can be overriden
+org.apache.tsik.addon.messaging.AbstractTransport#beforeConnect} and/or {@link
+org.apache.tsik.addon.messaging.AbstractTransport#afterConnect} methods can
+be overriden
to access the {@link java.net.URLConnection} object. </p>
<p> It is also possible to get and set SOAP headers when using {@link
-org.apache.tsik.messaging.XmlTransportSoap}. See the {@link
-org.apache.tsik.messaging.XmlTransportSoap} class for details. </p>
+org.apache.tsik.addon.messaging.XmlTransportSoap}. See the {@link
+org.apache.tsik.addon.messaging.XmlTransportSoap} class for details. </p>
-<p> See {@link org.apache.tsik.messaging.AbstractTransport} for information on
+<p> See {@link org.apache.tsik.addon.messaging.AbstractTransport} for
+information on
overriding other aspects of transport behavior. </p>
<h3><a name="provider">Customizing the Message Provider</a></h3>
<p> Normally the web service API transparently supplies the message provider
class, which is always a subclass of {@link
-org.apache.tsik.messaging.MessageProvider}. The transport obtains the message
+org.apache.tsik.addon.messaging.MessageProvider}. The transport
+obtains the message
provider object by calling {@link
-org.apache.tsik.messaging.XmlRequest#getProvider}. </p>
+org.apache.tsik.addon.messaging.XmlRequest#getProvider}. </p>
<p> Typically the message provider class in the web service API, say
ABCProvider, has two static methods named <code>getDefaultProvider</code> and
@@ -267,14 +288,17 @@
of the web service API's default message provider, overriding only the methods
necessary. Examples of overriding methods to supply custom behavior are: </p>
<ul>
-<li> {@link org.apache.tsik.messaging.MessageProvider#getDefaultTrustVerifier} can
+<li> {@link
+org.apache.tsik.addon.messaging.MessageProvider#getDefaultTrustVerifier} can
be overridden to return a custom trust verifier. For example, a verifier could
be returned that trusts a different set of certificates. </li>
-<li> {@link org.apache.tsik.messaging.MessageProvider#getSchemaDocuments} can be
+<li> {@link
+org.apache.tsik.addon.messaging.MessageProvider#getSchemaDocuments} can be
overridden to return a different set of schema documents used for message
validation. </li>
-<li> {@link org.apache.tsik.messaging.MessageProvider#getXML} and {@link
-org.apache.tsik.messaging.MessageProvider#makeResponse} can be overridden to
+<li> {@link org.apache.tsik.addon.messaging.MessageProvider#getXML} and {@link
+org.apache.tsik.addon.messaging.MessageProvider#makeResponse} can be
+overridden to
change the way that message objects are translated to and from their XML
representation. </li>
</ul>
@@ -292,22 +316,26 @@
<ol>
<li> One or more request classes must be provided for each of the web service's
different request messages. This class must implement {@link
-org.apache.tsik.messaging.XmlRequest}, and usually does so by extending {@link
-org.apache.tsik.messaging.AbstractRequest}. </li>
+org.apache.tsik.addon.messaging.XmlRequest}, and usually does so by
+extending {@link
+org.apache.tsik.addon.messaging.AbstractRequest}. </li>
<li> One or more response classes must be provided for each of the web
service's different response messages. This class must implement {@link
-org.apache.tsik.messaging.XmlResponse}, and usually does so by extending {@link
-org.apache.tsik.messaging.AbstractResponse}. </li>
+org.apache.tsik.addon.messaging.XmlResponse}, and usually does so
+by extending {@link
+org.apache.tsik.addon.messaging.AbstractResponse}. </li>
<li> A message provider class must be provided which extends {@link
-org.apache.tsik.messaging.MessageProvider}.</li>
+org.apache.tsik.addon.messaging.MessageProvider}.</li>
<li> Optionally, one or more exception classes may be provided to supply
additional information about errors that occur during message processing.
-These classes must extend {@link org.apache.tsik.messaging.XmlMessageException}.
+These classes must extend {@link
+org.apache.tsik.addon.messaging.XmlMessageException}.
</li>
<li> Optionally, a specialized transport class may be provided to perform
specialized transport behavior; however, this will restrict applications from
using the standard transport classes. This class must implement {@link
-org.apache.tsik.messaging.XmlTransport} and should preferrably extend one of the
+org.apache.tsik.addon.messaging.XmlTransport} and should preferrably
+extend one of the
transport classes in the messaging package. </li>
</ol>
@@ -315,35 +343,39 @@
documentation for the interface it implements or the base class it extends:
</p>
<ul>
-<li> {@link org.apache.tsik.messaging.XmlRequest} </li>
-<li> {@link org.apache.tsik.messaging.XmlResponse} </li>
-<li> {@link org.apache.tsik.messaging.MessageProvider} </li>
-<li> {@link org.apache.tsik.messaging.XmlTransport} </li>
-<li> {@link org.apache.tsik.messaging.XmlTransportSecurity} </li>
-<li> {@link org.apache.tsik.messaging.AbstractTransport} </li>
+<li> {@link org.apache.tsik.addon.messaging.XmlRequest} </li>
+<li> {@link org.apache.tsik.addon.messaging.XmlResponse} </li>
+<li> {@link org.apache.tsik.addon.messaging.MessageProvider} </li>
+<li> {@link org.apache.tsik.addon.messaging.XmlTransport} </li>
+<li> {@link org.apache.tsik.addon.messaging.XmlTransportSecurity} </li>
+<li> {@link org.apache.tsik.addon.messaging.AbstractTransport} </li>
</ul>
<p> Depending on the web service, different message privacy and signature
techniques may be needed. For example, a service may require message privacy
via a secure transport such as HTTPS, signatures may be contained in the SOAP
envelope or in the message body, etc. For details, see {@link
-org.apache.tsik.messaging.XmlTransportSecurity}, {@link
-org.apache.tsik.messaging.AbstractTransport} and its subclasses in the messaging
-package. </p>
+org.apache.tsik.addon.messaging.XmlTransportSecurity}, {@link
+org.apache.tsik.addon.messaging.AbstractTransport} and its subclasses
+in the messaging package. </p>
<p> Translating request and response objects to/from their XML representation
is one of the primary functions of the web service API. There are two
alternatives for implementing this within the messaging framework: </p>
<ol>
-<li> The {@link org.apache.tsik.messaging.XmlRequest#getXML} and {@link
-org.apache.tsik.messaging.XmlRequest#makeResponse} methods can be implemented to
+<li> The {@link org.apache.tsik.addon.messaging.XmlRequest#getXML} and {@link
+org.apache.tsik.addon.messaging.XmlRequest#makeResponse} methods can
+be implemented to
perform the translation. These methods are called automatically by {@link
-org.apache.tsik.messaging.AbstractTransport#sendRequest}. </li>
-<li> The {@link org.apache.tsik.messaging.MessageProvider#getXML} and {@link
-org.apache.tsik.messaging.MessageProvider#makeResponse} can be implemented to
+org.apache.tsik.addon.messaging.AbstractTransport#sendRequest}. </li>
+<li> The {@link org.apache.tsik.addon.messaging.MessageProvider#getXML}
+and {@link
+org.apache.tsik.addon.messaging.MessageProvider#makeResponse} can
+be implemented to
perform the translation. These methods are called automatically by the default
-implementations of {@link org.apache.tsik.messaging.AbstractRequest} and {@link
-org.apache.tsik.messaging.AbstractResponse}. </li>
+implementations of {@link org.apache.tsik.addon.messaging.AbstractRequest}
+and {@link
+org.apache.tsik.addon.messaging.AbstractResponse}. </li>
</ol>
<p> Option 1 is the most straightforward to implement; however, it is limited
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/tools/SendXML.java
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/tools/SendXML.java?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/tools/SendXML.java (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/tools/SendXML.java Fri Sep 9 15:49:44 2005
@@ -1,35 +1,39 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging.tools;
+package org.apache.tsik.addon.messaging.tools;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URL;
import java.net.URLConnection;
+import org.apache.tsik.addon.messaging.AbstractTransport;
+import org.apache.tsik.addon.messaging.ServiceFailureException;
+import org.apache.tsik.addon.messaging.SimpleRequest;
+import org.apache.tsik.addon.messaging.XmlResponse;
+import org.apache.tsik.addon.messaging.XmlTransportNaked;
import org.apache.tsik.domutil.DOMWriteCursor;
-import org.apache.tsik.messaging.AbstractTransport;
-import org.apache.tsik.messaging.ServiceFailureException;
-import org.apache.tsik.messaging.SimpleRequest;
-import org.apache.tsik.messaging.SoapMessage;
-import org.apache.tsik.messaging.XmlResponse;
-import org.apache.tsik.messaging.XmlTransportNaked;
+import org.apache.tsik.plugins.SoapEngine;
+import org.apache.tsik.plugins.SoapFactory;
+import org.apache.tsik.plugins.SoapMessage;
import org.apache.tsik.resource.ResourceFactory;
import org.apache.tsik.resource.XMLResource;
import org.w3c.dom.Document;
@@ -94,7 +98,8 @@
} else {
doc = xmlres.parseXML(System.in, false);
if (addSoap) {
- SoapMessage msg = new SoapMessage(doc);
+ SoapEngine e = SoapFactory.getDefaultEngine();
+ SoapMessage msg = e.getSoapMessageInstance(doc);
doc = msg.getDocument();
}
}
Modified: incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/tools/package.html
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/tools/package.html?rev=279902&r1=279809&r2=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/tools/package.html (original)
+++ incubator/tsik/trunk/addons/src/org/apache/tsik/addon/messaging/tools/package.html Fri Sep 9 15:49:44 2005
@@ -1,5 +1,5 @@
<html>
-<!-- $Id: package.html,v 1.1 2002/08/30 14:53:20 mark Exp $ -->
+<!-- $Id$ -->
<body>
Handy tools for message related tasks.
Added: incubator/tsik/trunk/addons/src/packages.txt
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/src/packages.txt?rev=279902&view=auto
==============================================================================
--- incubator/tsik/trunk/addons/src/packages.txt (added)
+++ incubator/tsik/trunk/addons/src/packages.txt Fri Sep 9 15:49:44 2005
@@ -0,0 +1,3 @@
+org/apache/tsik/addon/messaging/**
+
+
Copied: incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/HttpHeaderTest.java (from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/HttpHeaderTest.java)
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/HttpHeaderTest.java?p2=incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/HttpHeaderTest.java&p1=incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/HttpHeaderTest.java&r1=279895&r2=279902&rev=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/HttpHeaderTest.java (original)
+++ incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/HttpHeaderTest.java Fri Sep 9 15:49:44 2005
@@ -1,28 +1,30 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging.test;
+package org.apache.tsik.addon.messaging.test;
import org.apache.tsik.domutil.DOMCursor;
import org.apache.tsik.domutil.DOMWriteCursor;
-import org.apache.tsik.messaging.SimpleRequest;
-import org.apache.tsik.messaging.AbstractTransport;
-import org.apache.tsik.messaging.XmlResponse;
+import org.apache.tsik.addon.messaging.SimpleRequest;
+import org.apache.tsik.addon.messaging.AbstractTransport;
+import org.apache.tsik.addon.messaging.XmlResponse;
import org.apache.tsik.test.BaseTestCase;
import org.apache.tsik.test.BaseTestSuite;
import java.io.IOException;
Copied: incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/MessageTestCase.java (from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/MessageTestCase.java)
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/MessageTestCase.java?p2=incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/MessageTestCase.java&p1=incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/MessageTestCase.java&r1=279895&r2=279902&rev=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/MessageTestCase.java (original)
+++ incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/MessageTestCase.java Fri Sep 9 15:49:44 2005
@@ -1,24 +1,26 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging.test;
+package org.apache.tsik.addon.messaging.test;
-import org.apache.tsik.messaging.AbstractTransport;
+import org.apache.tsik.addon.messaging.AbstractTransport;
import org.apache.tsik.test.DataDrivenTestCase;
/**
Copied: incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/MessageTestSuite.java (from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/MessageTestSuite.java)
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/MessageTestSuite.java?p2=incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/MessageTestSuite.java&p1=incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/MessageTestSuite.java&r1=279895&r2=279902&rev=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/MessageTestSuite.java (original)
+++ incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/MessageTestSuite.java Fri Sep 9 15:49:44 2005
@@ -1,26 +1,28 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging.test;
+package org.apache.tsik.addon.messaging.test;
import org.apache.tsik.domutil.DOMCursor;
-import org.apache.tsik.messaging.AbstractTransport;
-import org.apache.tsik.messaging.XmlTransport;
+import org.apache.tsik.addon.messaging.AbstractTransport;
+import org.apache.tsik.addon.messaging.XmlTransport;
import org.apache.tsik.test.BaseTestCase;
import org.apache.tsik.test.BaseTestSuite;
import org.apache.tsik.test.DocumentMatcher;
Copied: incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SimulatorFilter.java (from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/SimulatorFilter.java)
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SimulatorFilter.java?p2=incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SimulatorFilter.java&p1=incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/SimulatorFilter.java&r1=279895&r2=279902&rev=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/SimulatorFilter.java (original)
+++ incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SimulatorFilter.java Fri Sep 9 15:49:44 2005
@@ -1,22 +1,24 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging.test;
+package org.apache.tsik.addon.messaging.test;
import org.apache.tsik.domutil.DOMCursor;
import org.apache.tsik.domutil.DOMWriteCursor;
Copied: incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SimulatorTransport.java (from r279895, incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/SimulatorTransport.java)
URL: http://svn.apache.org/viewcvs/incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SimulatorTransport.java?p2=incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SimulatorTransport.java&p1=incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/SimulatorTransport.java&r1=279895&r2=279902&rev=279902&view=diff
==============================================================================
--- incubator/tsik/trunk/test/src/org/apache/tsik/messaging/test/SimulatorTransport.java (original)
+++ incubator/tsik/trunk/addons/test/src/org/apache/tsik/addon/messaging/test/SimulatorTransport.java Fri Sep 9 15:49:44 2005
@@ -1,27 +1,29 @@
-// $Id$
+/* $Id$ */
-//
-// (C) Copyright 2005 VeriSign, Inc. All Rights Reserved.
-//
-// VeriSign, Inc. shall have no responsibility, financial or
-// otherwise, for any consequences arising out of the use of
-// this material. The program material is provided on an "AS IS"
-// BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
-// express or implied. The user is responsible for determining
-// any necessary third party rights or authorizations that may
-// be required for the use of the materials. Users are advised
-// that they may need authorizations under certain patents from
-// Microsoft and IBM, or others. Please see notice.txt file.
-// VeriSign disclaims any obligation to notify the user of any
-// such third party rights.
-//
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ *
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
-package org.apache.tsik.messaging.test;
+package org.apache.tsik.addon.messaging.test;
import org.apache.tsik.domutil.DOMCursor;
import org.apache.tsik.domutil.DOMWriteCursor;
-import org.apache.tsik.messaging.AbstractTransport;
-import org.apache.tsik.messaging.XmlMessageException;
+import org.apache.tsik.addon.messaging.AbstractTransport;
+import org.apache.tsik.addon.messaging.XmlMessageException;
import org.apache.tsik.xpath.XPath;
import java.io.IOException;
import java.security.PrivateKey;
---------------------------------------------------------------------
To unsubscribe, e-mail: tsik-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tsik-dev-help@ws.apache.org