You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by da...@apache.org on 2007/03/19 06:17:46 UTC

svn commit: r519845 [2/3] - in /incubator/cxf/trunk: api/src/main/java/org/apache/cxf/ws/ buildtools/src/main/resources/ rt/ rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/ rt/frontend/simple/src/main/java/org/apache/cxf/fronten...

Added: incubator/cxf/trunk/rt/ws/security/src/main/resources/schemas/ws-security-policy.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/main/resources/schemas/ws-security-policy.xsd?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/main/resources/schemas/ws-security-policy.xsd (added)
+++ incubator/cxf/trunk/rt/ws/security/src/main/resources/schemas/ws-security-policy.xsd Sun Mar 18 22:17:43 2007
@@ -0,0 +1,1104 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!-- 
+Copyright Notice
+(c) 2001-2005 International Business Machines Corporation, Microsoft Corporation, RSA
+Security Inc., and VeriSign Inc. All rights reserved. Permission to copy and display the
+WS-SecurityPolicy Specification (the “Specification”, which includes WSDL and schema
+documents), in any medium without fee or royalty is hereby granted, provided that you
+include the following on ALL copies of the Specification, that you make:
+
+1. A link or URL to the Specification at one of the Authors’ websites
+2. The copyright notice as shown in the Specification.
+
+IBM, Microsoft, RSA and Verisign (collectively, the "Authors") each agree to grant you a
+license, under royalty-free and otherwise reasonable, non-discriminatory terms and
+conditions, to their respective essential patent claims that they deem necessary to
+implement the Specification.
+
+THE SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO
+REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT
+LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE
+SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION
+OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
+TRADEMARKS OR OTHER RIGHTS.
+THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL
+OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR
+DISTRIBUTION OF THE SPECIFICATION.
+
+The name and trademarks of the Authors may NOT be used in any manner, including
+advertising or publicity pertaining to the Specification or its contents without specific,
+written prior permission. Title to copyright in the Specification will at all times remain
+with the Authors.
+
+No other rights are granted by implication, estoppel or otherwise.
+ -->
+<xs:schema
+  targetNamespace="http://schemas.xmlsoap.org/ws/2005/02/securitypolicy"
+    xmlns:tns="http://schemas.xmlsoap.org/ws/2005/02/securitypolicy"
+  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
+  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+  elementFormDefault="qualified"
+  blockDefault="#all" >
+
+  <xs:import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
+    schemaLocation="http://schemas.xmlsoap.org/ws/2004/08/addressing" />
+
+  <xs:import namespace="http://schemas.xmlsoap.org/ws/2004/09/policy" 
+    schemaLocation="http://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd" />
+
+  <!--
+  5. Protection Assertions
+  -->
+  <xs:element name="SignedParts" type="tns:SePartsType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+
+        5.1.1 SignedParts Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="EncryptedParts" type="tns:SePartsType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        5.2.1 EncryptedParts Assertion
+      </xs:documentation>
+    </xs:annotation>
+
+  </xs:element>
+  <xs:complexType name="SePartsType">
+    <xs:sequence>
+      <xs:element name="Body" type="tns:EmptyType" minOccurs="0" />
+      <xs:element name="Header" type="tns:HeaderType" minOccurs="0" maxOccurs="unbounded" />
+      <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+
+  <xs:complexType name="EmptyType" />
+  <xs:complexType name="HeaderType" >
+    <xs:attribute name="Name" type="xs:QName" use="optional" />
+    <xs:attribute name="Namespace" type="xs:anyURI" use="required" />
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+
+  <xs:element name="SignedElements" type="tns:SerElementsType" >
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en" >
+        5.1.2 SignedElements Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="EncryptedElements" type="tns:SerElementsType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        5.2.2 EncryptedElements Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="RequiredElements" type="tns:SerElementsType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en" >
+        5.3.1 RequiredElements Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:complexType name="SerElementsType">
+    <xs:sequence>
+            <xs:element name="XPath" type="xs:string" minOccurs="1" maxOccurs="unbounded" />
+      <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
+    </xs:sequence>
+    <xs:attribute name="XPathVersion" type="xs:anyURI" use="optional" />
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+
+  <!--
+  6. Token Assertions
+  -->
+  <xs:attribute name="IncludeToken" type="tns:IncludeTokenOpenType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.1 Token Inclusion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:attribute>
+  <xs:simpleType name="IncludeTokenOpenType">
+
+    <xs:union memberTypes="tns:IncludeTokenType xs:anyURI" />
+  </xs:simpleType>
+  <xs:simpleType name="IncludeTokenType">
+    <xs:restriction base="xs:anyURI" >
+      <xs:enumeration value="http://schemas.xmlsoap.org/ws/2005/02/securitypolicy/IncludeToken/Never" />
+      <xs:enumeration value="http://schemas.xmlsoap.org/ws/2005/02/securitypolicy/IncludeToken/Once" />
+      <xs:enumeration value="http://schemas.xmlsoap.org/ws/2005/02/securitypolicy/IncludeToken/AlwaysToRecipient" />
+      <xs:enumeration value="http://schemas.xmlsoap.org/ws/2005/02/securitypolicy/IncludeToken/Always" />
+    </xs:restriction>
+
+  </xs:simpleType>
+
+  <xs:element name="UsernameToken" type="tns:TokenAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en" >
+        6.3.1 UsernameToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:complexType name="TokenAssertionType">
+
+    <xs:sequence>
+      <!--
+      *** Accurate content model is nondeterministic ***
+      <xs:element ref="wsp:Policy" minOccurs="0" />
+      -->
+      <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
+    </xs:sequence>
+    <xs:attribute ref="tns:IncludeToken" use="optional" />
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+
+  <xs:element name="WssUsernameToken10" type="tns:QNameAssertionType" >
+
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.1 UsernameToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssUsernameToken11" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+
+        6.3.1 UsernameToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:complexType name="QNameAssertionType">
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+
+  <xs:element name="IssuedToken" type="tns:IssuedTokenType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        6.3.2 IssuedToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:complexType name="IssuedTokenType">
+    <xs:sequence>
+      <xs:element name="Issuer" type="wsa:EndpointReferenceType" minOccurs="0" />
+      <xs:element name="RequestSecurityTokenTemplate" type="tns:RequestSecurityTokenTemplateType" />
+
+      <!--
+      *** Accurate content model is nondeterministic ***
+      <xs:element ref="wsp:Policy" minOccurs="0" />
+      -->
+      <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />      
+    </xs:sequence>
+    <xs:attribute ref="tns:IncludeToken" use="optional" />
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+  <xs:complexType name="RequestSecurityTokenTemplateType">
+    <xs:sequence>
+      <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
+
+    </xs:sequence>
+    <xs:attribute name="TrustVersion" type="xs:anyURI" use="optional" />
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+
+  <xs:element name="RequireDerivedKeys" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.2 IssuedToken Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="RequireExternalReference" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.2 IssuedToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="RequireInternalReference" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.2 IssuedToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="X509Token" type="tns:TokenAssertionType" >
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="RequireKeyIdentifierReference" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="RequireIssuerSerialReference" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+
+  </xs:element>
+  <xs:element name="RequireEmbeddedTokenReference" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="RequireThumbprintReference" type="tns:QNameAssertionType" >
+
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssX509V1Token10" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssX509V3Token10" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+
+  </xs:element>
+  <xs:element name="WssX509Pkcs7Token10" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssX509PkiPathV1Token10" type="tns:QNameAssertionType" >
+
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssX509V1Token11" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssX509V3Token11" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+
+  </xs:element>
+  <xs:element name="WssX509Pkcs7Token11" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssX509PkiPathV1Token11" type="tns:QNameAssertionType" >
+
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.3 X509Token Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="KerberosToken" type="tns:TokenAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+
+        6.3.4 KerberosToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <!-- RequireDerivedKeys defined above. -->
+  <!-- RequireKeyIdentifierReference defined above. -->
+
+  <xs:element name="WssKerberosV5ApReqToken11" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+
+        6.3.4 KerberosToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssGssKerberosV5ApReqToken11" type="tns:QNameAssertionType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.4 KerberosToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+
+  </xs:element>
+
+  <xs:element name="SpnegoContextToken" type="tns:SpnegoContextTokenType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en" >
+        6.3.5 SpnegoContextToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:complexType name="SpnegoContextTokenType">
+
+    <xs:sequence>
+      <xs:element name="Issuer" type="wsa:EndpointReferenceType" minOccurs="0" />
+      <!--
+      *** Accurate content model is nondeterministic ***
+      <xs:element ref="wsp:Policy" minOccurs="0" />
+      -->
+      <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
+    </xs:sequence>
+    <xs:attribute ref="tns:IncludeToken" use="optional" />
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+  <!-- RequireDerivedKeys defined above. -->
+
+  <xs:element name="SecurityContextToken" type="tns:TokenAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.6 SecurityContextToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <!-- RequireDerivedKeys defined above. -->
+
+  <xs:element name="RequireExternalUriReference" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.6 SecurityContextToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="SC10SecurityContextToken" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        6.3.6 SecurityContextToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="SecureConversationToken" type="tns:SecureConversationTokenType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.7 SecureConversationToken Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:complexType name="SecureConversationTokenType">
+    <xs:sequence>
+      <xs:element name="Issuer" type="wsa:EndpointReferenceType" minOccurs="0" />
+      <!--
+      *** Accurate content model is nondeterministic ***
+      <xs:element ref="wsp:Policy" minOccurs="0" />
+      -->
+      <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
+    </xs:sequence>
+    <xs:attribute ref="tns:IncludeToken" use="optional" />
+
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+  <!-- RequireDerivedKeys defined above. -->
+  <!-- RequireExternalUriReference defined above. -->
+  <!-- SC10SecurityContextToken defined above. -->
+
+  <xs:element name="BootstrapPolicy" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+
+        6.3.7 SecureConversationToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="SamlToken" type="tns:TokenAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en" >
+        6.3.8 SamlToken Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <!-- RequireDerivedKeys defined above. -->
+  <!-- RequireKeyIdentifierReference defined above. -->
+
+  <xs:element name="WssSamlV10Token10" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.8 SamlToken Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssSamlV11Token10" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.8 SamlToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="WssSamlV10Token11" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.8 SamlToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssSamlV11Token11" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        6.3.8 SamlToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssSamlV20Token11" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.8 SamlToken Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="RelToken" type="tns:TokenAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.9 RelToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <!-- RequireDerivedKeys defined above. -->
+  <!-- RequireKeyIdentifierReference defined above. -->
+
+  <xs:element name="WssRelV10Token10" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.9 RelToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="WssRelV20Token10" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.9 RelToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssRelV10Token11" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        6.3.9 RelToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="WssRelV20Token11" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.9 RelToken Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="HttpsToken" type="tns:HttpsTokenType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        6.3.10 HttpsToken Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:complexType name="HttpsTokenType">
+    <xs:sequence>
+      <!--
+      *** Accurate content model is nondeterministic ***
+      <xs:element ref="wsp:Policy" minOccurs="0" />
+      -->
+      <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
+    </xs:sequence>
+    <xs:attribute name="RequireClientCertificate" type="xs:boolean" use="required" />
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+
+  <!--
+  8. Security Binding Assertions
+  -->
+  <xs:element name="AlgorithmSuite" type="tns:NestedPolicyType" >
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:complexType name="NestedPolicyType">
+
+    <xs:sequence>
+      <xs:element ref="wsp:Policy" />
+      <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##any" processContents="lax" />
+  </xs:complexType>
+
+  <xs:element name="Basic256" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic192" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic128" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="TripleDes" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic256Rsa15" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic192Rsa15" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic128Rsa15" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="TripleDesRsa15" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic256Sha256" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic192Sha256" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic128Sha256" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="TripleDesSha256" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic256Sha256Rsa15" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic192Sha256Rsa15" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Basic128Sha256Rsa15" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="TripleDesSha256Rsa15" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="InclusiveC14N" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="SOAPNormalization10" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="STRTransform10" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="XPathFilter20" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.1 AlgorithmSuite Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="Layout" type="tns:NestedPolicyType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        8.2 Layout Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="Strict" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.2 Layout Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="Lax" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.2 Layout Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="LaxTsFirst" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.2 Layout Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="LaxTsLast" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        8.2 Layout Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="TransportBinding" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.3 TransportBinding Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="TransportToken" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.3 TransportBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <!-- AlgorithmSuite defined above. -->
+  <!-- Layout defined above. -->
+
+  <xs:element name="IncludeTimestamp" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.3 TransportBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <!-- RequireDerivedKeys defined above. -->
+
+  <xs:element name="SymmetricBinding" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.4 SymmetricBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="EncryptionToken" type="tns:NestedPolicyType">
+
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.4 SymmetricBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="SignatureToken" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+
+        8.4 SymmetricBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="ProtectionToken" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.4 SymmetricBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+
+  </xs:element>
+  <!-- AlgorithmSuite defined above. -->
+  <!-- Layout defined above. -->
+  <!-- IncludeTimestamp defined above. -->
+
+  <xs:element name="EncryptBeforeSigning" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.4 SymmetricBinding Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="EncryptSignature" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.4 SymmetricBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="ProtectTokens" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.4 SymmetricBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <!-- RequireDerivedKeys defined above. -->
+  <xs:element name="OnlySignEntireHeadersAndBody" type="tns:QNameAssertionType">
+
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.4 SymmetricBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="AsymmetricBinding" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+
+        8.5 AsymmetricBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="InitiatorToken" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.5 AsymmetricBinding Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="RecipientToken" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        8.5 AsymmetricBinding Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <!-- AlgorithmSuite defined above. -->
+  <!-- Layout defined above. -->
+  <!-- IncludeTimestamp defined above. -->
+  <!-- EncryptBeforeSigning defined above. -->
+  <!-- EncryptSignature defined above. -->
+  <!-- ProtectTokens defined above. -->
+  <!-- RequireDerivedKeys defined above. -->
+  <!-- OnlySignEntireHeadersAndBody defined above. -->
+
+  <!--
+  9. Supporting Tokens
+  -->
+  <xs:element name="SupportingTokens" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        9.1 SupportingTokens Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <!-- AlgorithmSuite defined above. -->
+
+  <!-- SignedParts defined above. -->
+  <!-- SignedElements defined above. -->
+  <!-- EncryptedParts defined above. -->
+  <!-- EncryptedElements defined above. -->
+
+  <xs:element name="SignedSupportingTokens" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        9.2 SignedSupportingTokens Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <!-- AlgorithmSuite defined above. -->
+  <!-- SignedParts defined above. -->
+  <!-- SignedElements defined above. -->
+  <!-- EncryptedParts defined above. -->
+  <!-- EncryptedElements defined above. -->
+
+  <xs:element name="EndorsingSupportingTokens" type="tns:NestedPolicyType">
+
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        9.3 EndorsingSupportingTokens Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <!-- AlgorithmSuite defined above. -->
+  <!-- SignedParts defined above. -->
+  <!-- SignedElements defined above. -->
+
+  <!-- EncryptedParts defined above. -->
+  <!-- EncryptedElements defined above. -->
+
+  <xs:element name="SignedEndorsingSupportingTokens" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        9.4 SignedEndorsingSupportingTokens Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <!-- AlgorithmSuite defined above. -->
+  <!-- SignedParts defined above. -->
+  <!-- SignedElements defined above. -->
+  <!-- EncryptedParts defined above. -->
+  <!-- EncryptedElements defined above. -->
+
+  <!--
+  10. WSS: SOAP Message Security Options
+  -->
+  <xs:element name="Wss10" type="tns:NestedPolicyType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        10.1 Wss10 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="MustSupportRefKeyIdentifier" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        10.1 Wss10 Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="MustSupportRefIssuerSerial" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        10.1 Wss10 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="MustSupportRefExternalURI" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        10.1 Wss10 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="MustSupportRefEmbeddedToken" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        10.1 Wss10 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="Wss11" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        10.2 Wss11 Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <!-- MustSupportRefKeyIdentifier defined above. -->
+  <!-- MustSupportRefIssuerSerial defined above. -->
+  <!-- MustSupportRefExternalURI defined above. -->
+  <!-- MustSupportRefEmbeddedToken defined above. -->
+
+  <xs:element name="MustSupportRefThumbprint" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        10.2 Wss11 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="MustSupportRefEncryptedKey" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        10.2 Wss11 Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="RequireSignatureConfirmation" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        10.2 Wss11 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <!--
+  11. WS-Trust Options
+  -->
+  <xs:element name="Trust10" type="tns:NestedPolicyType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        11.1 Trust10 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="MustSupportClientChallenge" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        11.1 Trust10 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="MustSupportServerChallenge" type="tns:QNameAssertionType">
+    <xs:annotation>
+
+      <xs:documentation xml:lang="en">
+        11.1 Trust10 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="RequireClientEntropy" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        11.1 Trust10 Assertion
+      </xs:documentation>
+
+    </xs:annotation>
+  </xs:element>
+  <xs:element name="RequireServerEntropy" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        11.1 Trust10 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+  <xs:element name="MustSupportIssuedTokens" type="tns:QNameAssertionType">
+    <xs:annotation>
+      <xs:documentation xml:lang="en">
+        11.1 Trust10 Assertion
+      </xs:documentation>
+    </xs:annotation>
+  </xs:element>
+
+</xs:schema>
\ No newline at end of file

Propchange: incubator/cxf/trunk/rt/ws/security/src/main/resources/schemas/ws-security-policy.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/main/resources/schemas/ws-security-policy.xsd
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/main/resources/schemas/ws-security-policy.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/security/src/main/resources/schemas/ws-security-policy.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/client.properties
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/client.properties?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/client.properties (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/client.properties Sun Mar 18 22:17:43 2007
@@ -0,0 +1,8 @@
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=keystorePass
+org.apache.ws.security.crypto.merlin.alias.password=aliaspass
+org.apache.ws.security.crypto.merlin.keystore.alias=alias
+org.apache.ws.security.crypto.merlin.file=META-INF/cxf/privatestore.jks
+xfire.security.symmetric.key.algoritm=http://www.w3.org/2001/04/xmlenc#tripledes-cbc
+xfire.security.encrypt.key.algoritm= http://www.w3.org/2001/04/xmlenc#rsa-1_5
\ No newline at end of file

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/client.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/client.properties
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/client.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/client.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/insecurity.properties
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/insecurity.properties?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/insecurity.properties (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/insecurity.properties Sun Mar 18 22:17:43 2007
@@ -0,0 +1,6 @@
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=keyStorePassword
+org.apache.ws.security.crypto.merlin.alias.password=myAliasPassword
+org.apache.ws.security.crypto.merlin.keystore.alias=myalias
+org.apache.ws.security.crypto.merlin.file=META-INF/cxf/privatestore.jks
\ No newline at end of file

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/insecurity.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/insecurity.properties
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/insecurity.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/insecurity.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/key.rsa
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/key.rsa?view=auto&rev=519845
==============================================================================
Binary file - no diff available.

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/key.rsa
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/key.rsa
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/outsecurity.properties
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/outsecurity.properties?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/outsecurity.properties (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/outsecurity.properties Sun Mar 18 22:17:43 2007
@@ -0,0 +1,8 @@
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=keyStorePassword
+org.apache.ws.security.crypto.merlin.alias.password=myAliasPassword
+org.apache.ws.security.crypto.merlin.keystore.alias=myalias
+org.apache.ws.security.crypto.merlin.file=META-INF/cxf/privatestore.jks
+xfire.security.symmetric.key.algoritm=http://www.w3.org/2001/04/xmlenc#tripledes-cbc
+xfire.security.encrypt.key.algoritm= http://www.w3.org/2001/04/xmlenc#rsa-1_5
\ No newline at end of file

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/outsecurity.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/outsecurity.properties
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/outsecurity.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/outsecurity.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/privatestore.jks
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/privatestore.jks?view=auto&rev=519845
==============================================================================
Binary file - no diff available.

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/privatestore.jks
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/privatestore.jks
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/publicstore.jks
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/publicstore.jks?view=auto&rev=519845
==============================================================================
Binary file - no diff available.

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/publicstore.jks
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/publicstore.jks
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/request.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/request.xml?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/request.xml (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/request.xml Sun Mar 18 22:17:43 2007
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns="http://somenamespace.pl"
+	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+	<soapenv:Body>
+		<testMethod xmlns="http://xfire.codehaus.org/BookService" />	</soapenv:Body>
+</soapenv:Envelope>

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/request.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/request.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/request.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/request.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_enc.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_enc.xml?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_enc.xml (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_enc.xml Sun Mar 18 22:17:43 2007
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans
+  xmlns:tns="http://xfire.codehaus.org/config/1.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  >
+  <tns:service
+    name="echo"
+    serviceClass="org.codehaus.xfire.security.UsernamePasswordEchoService"
+    implementationClass="org.codehaus.xfire.security.UsernamePasswordEchoServiceImpl"
+    namespace="urn:Echo">
+    
+    <tns:inHandlers>
+      <tns:handler handlerClass="org.codehaus.xfire.util.LoggingHandler"/>
+      <tns:handler handlerClass="org.codehaus.xfire.util.dom.DOMInHandler" />
+      <bean id="org.codehaus.xfire.security.wssecurity.WSS4JInSecurityHandler" class="org.codehaus.xfire.security.wssecurity.WSS4JInSecurityHandler">
+        <property name="configFile"  value="META-INF/xfire/insecurity_enc.properties"  />
+      </bean>
+    </tns:inHandlers>
+
+  </tns:service>
+</beans>

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_enc.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_enc.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_enc.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_enc.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_sgn.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_sgn.xml?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_sgn.xml (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_sgn.xml Sun Mar 18 22:17:43 2007
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans
+  xmlns:tns="http://xfire.codehaus.org/config/1.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  >
+  <tns:service
+    name="echo"
+    serviceClass="org.codehaus.xfire.security.UsernamePasswordEchoService"
+    implementationClass="org.codehaus.xfire.security.UsernamePasswordEchoServiceImpl"
+    namespace="urn:Echo">
+    
+    <tns:inHandlers>
+      <tns:handler handlerClass="org.codehaus.xfire.util.LoggingHandler"/>
+      <tns:handler handlerClass="org.codehaus.xfire.util.dom.DOMInHandler" />
+      <bean id="org.codehaus.xfire.security.wssecurity.WSS4JInSecurityHandler" class="org.codehaus.xfire.security.wssecurity.WSS4JInSecurityHandler">
+        <property name="configFile"  value="META-INF/xfire/insecurity_sign.properties"  />
+      </bean>
+    </tns:inHandlers>
+
+  </tns:service>
+</beans>

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_sgn.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_sgn.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_sgn.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/META-INF/cxf/service_sgn.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/logging.properties
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/logging.properties?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/logging.properties (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/logging.properties Sun Mar 18 22:17:43 2007
@@ -0,0 +1,74 @@
+#
+#
+#    Licensed to the Apache Software Foundation (ASF) under one
+#    or more contributor license agreements. See the NOTICE file
+#    distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file
+#    to you 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.
+#
+#
+############################################################
+#  	Default Logging Configuration File
+#
+# You can use a different file by specifying a filename
+# with the java.util.logging.config.file system property.  
+# For example java -Djava.util.logging.config.file=myfile
+############################################################
+
+############################################################
+#  	Global properties
+############################################################
+
+# "handlers" specifies a comma separated list of log Handler 
+# classes.  These handlers will be installed during VM startup.
+# Note that these classes must be on the system classpath.
+# By default we only configure a ConsoleHandler, which will only
+# show messages at the INFO and above levels.
+#handlers= java.util.logging.ConsoleHandler
+
+# To also add the FileHandler, use the following line instead.
+#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
+
+# Default global logging level.
+# This specifies which kinds of events are logged across
+# all loggers.  For any given facility this global level
+# can be overriden by a facility specific level
+# Note that the ConsoleHandler also has a separate level
+# setting to limit messages printed to the console.
+.level= FINE
+
+############################################################
+# Handler specific properties.
+# Describes specific configuration info for Handlers.
+############################################################
+
+# default file output is in user's home directory.
+java.util.logging.FileHandler.pattern = %h/java%u.log
+java.util.logging.FileHandler.limit = 50000
+java.util.logging.FileHandler.count = 1
+java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
+
+# Limit the message that are printed on the console to INFO and above.
+java.util.logging.ConsoleHandler.level = FINE
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+
+
+############################################################
+# Facility specific properties.
+# Provides extra control for each logger.
+############################################################
+
+# For example, set the com.xyz.foo logger to only log SEVERE
+# messages:
+#com.xyz.foo.level = SEVERE

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/logging.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/logging.properties
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/logging.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/logging.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractSecurityTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractSecurityTest.java?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractSecurityTest.java (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractSecurityTest.java Sun Mar 18 22:17:43 2007
@@ -0,0 +1,62 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.cxf.ws.security.wss4j;
+
+import java.io.IOException;
+import java.io.InputStream;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPMessage;
+
+import org.w3c.dom.Document;
+
+import org.xml.sax.SAXException;
+
+import org.apache.cxf.binding.soap.Soap11;
+import org.apache.cxf.helpers.DOMUtils;
+import org.apache.cxf.test.AbstractCXFTest;
+
+public abstract class AbstractSecurityTest extends AbstractCXFTest {
+    public AbstractSecurityTest() {
+        super();
+
+        addNamespace("wsse",
+                     "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd");
+        addNamespace("ds", "http://www.w3.org/2000/09/xmldsig#");
+        addNamespace("s", Soap11.getInstance().getNamespace());
+        addNamespace("xenc", "http://www.w3.org/2001/04/xmlenc#");
+        addNamespace("wsu",
+                     "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd");
+    }
+
+    protected Document readDocument(String name) throws SAXException, IOException,
+        ParserConfigurationException {
+        InputStream inStream = getClass().getResourceAsStream(name);
+        return DOMUtils.readXml(inStream);
+    }
+    
+
+    protected SOAPMessage readSAAJDocument(String name) throws SAXException, IOException,
+        ParserConfigurationException, SOAPException {
+        InputStream inStream = getClass().getResourceAsStream(name);
+        return MessageFactory.newInstance().createMessage(null, inStream);
+    }
+}

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractSecurityTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractSecurityTest.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractSecurityTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/Echo.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/Echo.java?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/Echo.java (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/Echo.java Sun Mar 18 22:17:43 2007
@@ -0,0 +1,30 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.cxf.ws.security.wss4j;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+
+@WebService
+public interface Echo {
+    @WebMethod
+    String echo(@WebParam(name = "text")
+                String text);
+}

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/Echo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/Echo.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/Echo.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/EchoImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/EchoImpl.java?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/EchoImpl.java (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/EchoImpl.java Sun Mar 18 22:17:43 2007
@@ -0,0 +1,36 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.cxf.ws.security.wss4j;
+
+import javax.jws.WebService;
+
+/**
+ * Service that echoes the username and password back to the user in an xml
+ * document
+ * 
+ * @author Brian Bonner
+ */
+@WebService(endpointInterface = "org.apache.cxf.ws.security.wss4j.Echo")
+public class EchoImpl implements Echo {
+
+    public String echo(String text) {
+        return text;
+    }
+
+}

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/EchoImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/EchoImpl.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/EchoImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java Sun Mar 18 22:17:43 2007
@@ -0,0 +1,111 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.cxf.ws.security.wss4j;
+
+import org.apache.cxf.binding.soap.saaj.SAAJInInterceptor;
+import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor;
+import org.apache.cxf.endpoint.Client;
+import org.apache.cxf.endpoint.Server;
+import org.apache.cxf.frontend.ClientProxy;
+import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
+import org.apache.cxf.jaxws.JaxWsServerFactoryBean;
+import org.apache.cxf.service.Service;
+import org.apache.cxf.transport.local.LocalTransportFactory;
+import org.apache.ws.security.WSConstants;
+import org.apache.ws.security.handler.WSHandlerConstants;
+import org.junit.Before;
+import org.junit.Test;
+
+public class RoundTripTest extends AbstractSecurityTest {
+    private WSS4JInInterceptor wsIn;
+    private WSS4JOutInterceptor wsOut;
+    private Echo echo;
+    private Client client;
+
+    @Before
+    public void setUpService() throws Exception {
+        JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
+        factory.setServiceClass(EchoImpl.class);
+        factory.setAddress("local://Echo");
+        factory.setTransportId(LocalTransportFactory.TRANSPORT_ID);
+        Server server = factory.create();
+        Service service = server.getEndpoint().getService();
+        
+        service.getInInterceptors().add(new SAAJInInterceptor());
+        service.getOutInterceptors().add(new SAAJOutInterceptor());
+
+        wsIn = new WSS4JInInterceptor();
+        wsIn.setProperty(WSHandlerConstants.SIG_PROP_FILE, "META-INF/cxf/insecurity.properties");
+        wsIn.setProperty(WSHandlerConstants.DEC_PROP_FILE, "META-INF/cxf/insecurity.properties");
+        wsIn.setProperty(WSHandlerConstants.PW_CALLBACK_CLASS, TestPwdCallback.class.getName());
+
+        service.getInInterceptors().add(wsIn);
+
+        wsOut = new WSS4JOutInterceptor();
+        wsOut.setProperty(WSHandlerConstants.SIG_PROP_FILE, "META-INF/cxf/outsecurity.properties");
+        wsOut.setProperty(WSHandlerConstants.ENC_PROP_FILE, "META-INF/cxf/outsecurity.properties");
+        wsOut.setProperty(WSHandlerConstants.USER, "myalias");
+        wsOut.setProperty("password", "myAliasPassword");
+        wsOut.setProperty(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PASSWORD_TEXT);
+        wsOut.setProperty(WSHandlerConstants.PW_CALLBACK_CLASS, TestPwdCallback.class.getName());
+        service.getOutInterceptors().add(wsOut);
+
+        // Create the client
+        JaxWsProxyFactoryBean proxyFac = new JaxWsProxyFactoryBean();
+        proxyFac.setServiceClass(Echo.class);
+        proxyFac.setAddress("local://Echo");
+        proxyFac.getClientFactoryBean().setTransportId(LocalTransportFactory.TRANSPORT_ID);
+        
+        echo = (Echo)proxyFac.create();
+
+        client = ClientProxy.getClient(echo);
+        client.getInInterceptors().add(wsIn);
+        client.getInInterceptors().add(new SAAJInInterceptor());
+        client.getOutInterceptors().add(wsOut);
+        client.getOutInterceptors().add(new SAAJOutInterceptor());
+    }
+
+    @Test
+    public void testSignature() throws Exception {
+        wsIn.setProperty(WSHandlerConstants.ACTION, WSHandlerConstants.SIGNATURE);
+        wsOut.setProperty(WSHandlerConstants.ACTION, WSHandlerConstants.SIGNATURE);
+
+        assertEquals("test", echo.echo("test"));
+    }
+
+    @Test
+    public void testEncyprtionPlusSig() throws Exception {
+        wsIn.setProperty(WSHandlerConstants.ACTION, WSHandlerConstants.ENCRYPT + " "
+                                                    + WSHandlerConstants.SIGNATURE);
+        wsOut.setProperty(WSHandlerConstants.ACTION, WSHandlerConstants.ENCRYPT + " "
+                                                     + WSHandlerConstants.SIGNATURE);
+
+        assertEquals("test", echo.echo("test"));
+    }
+    @Test
+    public void testUsernameToken() throws Exception {
+        String actions = WSHandlerConstants.ENCRYPT + " " + WSHandlerConstants.SIGNATURE + " "
+                         + WSHandlerConstants.TIMESTAMP + " " + WSHandlerConstants.USERNAME_TOKEN;
+
+        wsIn.setProperty(WSHandlerConstants.ACTION, actions);
+        wsOut.setProperty(WSHandlerConstants.ACTION, actions);
+
+        assertEquals("test", echo.echo("test"));
+    }
+}

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/TestPwdCallback.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/TestPwdCallback.java?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/TestPwdCallback.java (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/TestPwdCallback.java Sun Mar 18 22:17:43 2007
@@ -0,0 +1,49 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.cxf.ws.security.wss4j;
+
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.security.auth.callback.Callback;
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.callback.UnsupportedCallbackException;
+
+import org.apache.ws.security.WSPasswordCallback;
+
+public class TestPwdCallback implements CallbackHandler {
+
+    private static Map<String, String> passwords = new HashMap<String, String>();
+
+    static {
+        passwords.put("myalias", "myAliasPassword");
+    }
+
+    public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
+        for (int i = 0; i < callbacks.length; i++) {
+            WSPasswordCallback pc = (WSPasswordCallback)callbacks[i];
+
+            String pass = (String)passwords.get(pc.getIdentifer());
+            if (pass != null) {
+                pc.setPassword(pass);
+            }
+        }
+    }
+}

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/TestPwdCallback.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/TestPwdCallback.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/TestPwdCallback.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java Sun Mar 18 22:17:43 2007
@@ -0,0 +1,122 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.cxf.ws.security.wss4j;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.soap.SOAPPart;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.XMLStreamWriter;
+import javax.xml.transform.dom.DOMSource;
+
+import org.w3c.dom.Document;
+
+import org.apache.cxf.binding.soap.SoapMessage;
+import org.apache.cxf.helpers.DOMUtils.NullResolver;
+import org.apache.cxf.message.Exchange;
+import org.apache.cxf.message.ExchangeImpl;
+import org.apache.cxf.message.MessageImpl;
+import org.apache.cxf.staxutils.StaxUtils;
+import org.apache.ws.security.WSConstants;
+import org.apache.ws.security.handler.WSHandlerConstants;
+import org.junit.Test;
+
+/**
+ * Ensures that the signature round trip process works.
+ */
+public class WSS4JInOutTest extends AbstractSecurityTest {
+
+    public WSS4JInOutTest() {
+    }
+
+    @Test
+    public void testSignature() throws Exception {
+        Document doc = readDocument("wsse-request-clean.xml");
+
+        WSS4JOutInterceptor handler = new WSS4JOutInterceptor();
+
+        SoapMessage msg = new SoapMessage(new MessageImpl());
+        Exchange ex = new ExchangeImpl();
+        ex.setInMessage(msg);
+        
+        SOAPMessage saajMsg = MessageFactory.newInstance().createMessage();
+        SOAPPart part = saajMsg.getSOAPPart();
+        part.setContent(new DOMSource(doc));
+        saajMsg.saveChanges();
+
+        msg.setContent(SOAPMessage.class, saajMsg);
+
+        msg.put(WSHandlerConstants.ACTION, WSHandlerConstants.SIGNATURE);
+        msg.put(WSHandlerConstants.SIG_PROP_FILE, "META-INF/cxf/outsecurity.properties");
+        msg.put(WSHandlerConstants.USER, "myalias");
+        msg.put("password", "myAliasPassword");
+        msg.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PASSWORD_TEXT);
+
+        handler.handleMessage(msg);
+
+        doc = part;
+        
+        assertValid("//wsse:Security", doc);
+        assertValid("//wsse:Security/ds:Signature", doc);
+
+        byte[] docbytes = getMessageBytes(doc);
+        XMLStreamReader reader = StaxUtils.createXMLStreamReader(new ByteArrayInputStream(docbytes));
+
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+
+        dbf.setValidating(false);
+        dbf.setIgnoringComments(false);
+        dbf.setIgnoringElementContentWhitespace(true);
+        dbf.setNamespaceAware(true);
+
+        DocumentBuilder db = dbf.newDocumentBuilder();
+        db.setEntityResolver(new NullResolver());
+        doc = StaxUtils.read(db, reader, false);
+
+        WSS4JInInterceptor inHandler = new WSS4JInInterceptor();
+
+        SoapMessage inmsg = new SoapMessage(new MessageImpl());
+        ex.setInMessage(inmsg);
+        inmsg.setContent(SOAPMessage.class, saajMsg);
+
+        inHandler.setProperty(WSHandlerConstants.ACTION, WSHandlerConstants.SIGNATURE);
+        inHandler.setProperty(WSHandlerConstants.SIG_PROP_FILE, "META-INF/cxf/insecurity.properties");
+
+        inHandler.handleMessage(inmsg);
+    }
+
+    private byte[] getMessageBytes(Document doc) throws Exception {
+        // XMLOutputFactory factory = XMLOutputFactory.newInstance();
+        ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
+
+        // XMLStreamWriter byteArrayWriter =
+        // factory.createXMLStreamWriter(outputStream);
+        XMLStreamWriter byteArrayWriter = StaxUtils.createXMLStreamWriter(outputStream);
+
+        StaxUtils.writeDocument(doc, byteArrayWriter, false);
+
+        byteArrayWriter.flush();
+        return outputStream.toByteArray();
+    }
+}

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JInOutTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptorTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptorTest.java?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptorTest.java (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptorTest.java Sun Mar 18 22:17:43 2007
@@ -0,0 +1,135 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.cxf.ws.security.wss4j;
+
+import javax.xml.soap.SOAPMessage;
+import javax.xml.soap.SOAPPart;
+
+import org.apache.cxf.binding.soap.SoapMessage;
+import org.apache.cxf.message.Exchange;
+import org.apache.cxf.message.ExchangeImpl;
+import org.apache.cxf.message.MessageImpl;
+import org.apache.ws.security.WSConstants;
+import org.apache.ws.security.handler.WSHandlerConstants;
+import org.junit.Test;
+
+/**
+ * @author <a href="mailto:tsztelak@gmail.com">Tomasz Sztelak</a>
+ */
+public class WSS4JOutInterceptorTest extends AbstractSecurityTest {
+    @Test
+    public void testUsernameToken() throws Exception {
+        SOAPMessage saaj = readSAAJDocument("wsse-request-clean.xml");
+
+        WSS4JOutInterceptor handler = new WSS4JOutInterceptor();
+
+        SoapMessage msg = new SoapMessage(new MessageImpl());
+        Exchange ex = new ExchangeImpl();
+        ex.setInMessage(msg);
+
+        msg.setContent(SOAPMessage.class, saaj);
+
+        msg.put(WSHandlerConstants.ACTION, WSHandlerConstants.USERNAME_TOKEN);
+        msg.put(WSHandlerConstants.SIG_PROP_FILE, "META-INF/cxf/outsecurity.properties");
+        msg.put(WSHandlerConstants.USER, "username");
+        msg.put("password", "myAliasPassword");
+        handler.handleMessage(msg);
+
+        SOAPPart doc = saaj.getSOAPPart();
+        assertValid("//wsse:Security", doc);
+        assertValid("//wsse:Security/wsse:UsernameToken", doc);
+        assertValid("//wsse:Security/wsse:UsernameToken/wsse:Username[text()='username']", doc);
+    }
+
+    @Test
+    public void testEncrypt() throws Exception {
+        SOAPMessage saaj = readSAAJDocument("wsse-request-clean.xml");
+
+        WSS4JOutInterceptor handler = new WSS4JOutInterceptor();
+
+        SoapMessage msg = new SoapMessage(new MessageImpl());
+        Exchange ex = new ExchangeImpl();
+        ex.setInMessage(msg);
+
+        msg.setContent(SOAPMessage.class, saaj);
+        
+        msg.put(WSHandlerConstants.ACTION, WSHandlerConstants.ENCRYPT);
+        msg.put(WSHandlerConstants.SIG_PROP_FILE, "META-INF/cxf/outsecurity.properties");
+        msg.put(WSHandlerConstants.ENC_PROP_FILE, "META-INF/cxf/outsecurity.properties");
+        msg.put(WSHandlerConstants.USER, "myalias");
+        msg.put("password", "myAliasPassword");
+        msg.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PASSWORD_TEXT);
+
+        handler.handleMessage(msg);
+
+        SOAPPart doc = saaj.getSOAPPart();
+        assertValid("//wsse:Security", doc);
+        assertValid("//s:Body/xenc:EncryptedData", doc);
+    }
+    
+    @Test
+    public void testSignature() throws Exception {
+        SOAPMessage saaj = readSAAJDocument("wsse-request-clean.xml");
+
+        WSS4JOutInterceptor handler = new WSS4JOutInterceptor();
+
+        SoapMessage msg = new SoapMessage(new MessageImpl());
+        Exchange ex = new ExchangeImpl();
+        ex.setInMessage(msg);
+
+        msg.setContent(SOAPMessage.class, saaj);
+
+        msg.put(WSHandlerConstants.ACTION, WSHandlerConstants.SIGNATURE);
+        msg.put(WSHandlerConstants.SIG_PROP_FILE, "META-INF/cxf/outsecurity.properties");
+        msg.put(WSHandlerConstants.USER, "myAlias");
+        msg.put("password", "myAliasPassword");
+        msg.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PASSWORD_TEXT);
+
+        handler.handleMessage(msg);
+
+        SOAPPart doc = saaj.getSOAPPart();
+        assertValid("//wsse:Security", doc);
+        assertValid("//wsse:Security/ds:Signature", doc);
+    }
+
+    @Test
+    public void testTimestamp() throws Exception {
+        SOAPMessage saaj = readSAAJDocument("wsse-request-clean.xml");
+
+        WSS4JOutInterceptor handler = new WSS4JOutInterceptor();
+
+        SoapMessage msg = new SoapMessage(new MessageImpl());
+        Exchange ex = new ExchangeImpl();
+        ex.setInMessage(msg);
+
+        msg.setContent(SOAPMessage.class, saaj);
+        
+        handler.setProperty(WSHandlerConstants.ACTION, WSHandlerConstants.TIMESTAMP);
+        handler.setProperty(WSHandlerConstants.SIG_PROP_FILE, "META-INF/cxf/outsecurity.properties");
+        msg.put(WSHandlerConstants.USER, "myalias");
+        msg.put("password", "myAliasPassword");
+        handler.setProperty(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PASSWORD_TEXT);
+
+        handler.handleMessage(msg);
+
+        SOAPPart doc = saaj.getSOAPPart();
+        assertValid("//wsse:Security", doc);
+        assertValid("//wsse:Security/wsu:Timestamp", doc);
+    }
+}

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptorTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptorTest.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptorTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/in_enc.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/in_enc.xml?view=auto&rev=519845
==============================================================================
--- incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/in_enc.xml (added)
+++ incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/in_enc.xml Sun Mar 18 22:17:43 2007
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<soap:Header>
+<wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
+<xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
+<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" />
+<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+<wsse:SecurityTokenReference><ds:X509IssuerSerial xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+<ds:X509IssuerName xmlns:ds="http://www.w3.org/2000/09/xmldsig#">CN=alias</ds:X509IssuerName>
+
+<ds:X509SerialNumber xmlns:ds="http://www.w3.org/2000/09/xmldsig#">1137540018</ds:X509SerialNumber>
+</ds:X509IssuerSerial></wsse:SecurityTokenReference>
+</ds:KeyInfo>
+<xenc:CipherData><xenc:CipherValue>6k7AAdAg54H1VbK16ceAy5sLrPfWiycdXrpFtu0uXsuQ+hnczMc9UKFIPRYXoNPWCS5Uu1t3TEQr
+fMjXG2+AmuT+hgUNKk3L0AK7f4jjoFY0dmmNnn3eQ6NlvUWI38dO59nKjKdaXD+4GRWRcZBgvoxG
+FP+Lf9iW/DGo7Y2095s=</xenc:CipherValue></xenc:CipherData>
+<xenc:ReferenceList><xenc:DataReference URI="#EncDataId-13729475" /></xenc:ReferenceList></xenc:EncryptedKey></wsse:Security></soap:Header><soap:Body><xenc:EncryptedData Id="EncDataId-13729475" Type="http://www.w3.org/2001/04/xmlenc#Content" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" /><xenc:CipherData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:CipherValue xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">Bxe4tmTTzuX948Gif/Dz3KJtPCnjD99tFexyVoozwVOBD2m8pkbUCNbWk9sdqv5EupfC4z4E9ww5
+FdezLUHjLMdB0b2dEuswO09G5EaxMcNneWczk2fxSkRWS8hpXttHqKz/c2xKmgvSJHVvD4efeQKN
++QU8C0Ycym+EwR4D/1+Gvzbry/ZDwos6GHyY2VUtCtMRyyVIol3X4Rqwj6Vnn9WxN9AhJDDeyQQk
+4Xrxcdg/UBnXVORRSarF88GoiUj9IU7agwLcvOSYxF+IDo+JgVvRiKercpNA1O2olU5brysITBd6
+GsMcbh+87UFOwpJKdOI3xlY6ckov/BRTezCMovDt9ErvsXoG</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></soap:Body></soap:Envelope>
\ No newline at end of file

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/in_enc.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/in_enc.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/in_enc.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/in_enc.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml