ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1582739 [1/3] - in /webservices/wss4j/trunk: bindings/ bindings/src/ bindings/src/main/ bindings/src/main/java/ bindings/src/main/java/org/ bindings/src/main/java/org/apache/ bindings/src/main/java/org/apache/wss4j/ bindings/src/main/java/...
Date Fri, 28 Mar 2014 13:01:31 GMT
Author: coheigea
Date: Fri Mar 28 13:01:29 2014
New Revision: 1582739

URL: http://svn.apache.org/r1582739
Log:
Merging the bindings into a single module to solve some OSGi issues

Added:
    webservices/wss4j/trunk/bindings/src/
    webservices/wss4j/trunk/bindings/src/main/
    webservices/wss4j/trunk/bindings/src/main/java/
    webservices/wss4j/trunk/bindings/src/main/java/org/
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/AttributedString.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/BinarySecurityTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/EmbeddedType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/EncodedString.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/KeyIdentifierType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/ObjectFactory.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/PasswordString.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/ReferenceType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/SecurityHeaderType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/SecurityTokenReferenceType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/TransformationParametersType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/UsernameTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/package-info.java
      - copied, changed from r1582723, webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss11/
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss11/EncryptedHeaderType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss11/ObjectFactory.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss11/SignatureConfirmationType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss11/package-info.java
      - copied, changed from r1582723, webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc/
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc/AbstractDerivedKeyTokenType.java
      - copied, changed from r1582723, webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractDerivedKeyTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc/AbstractPropertiesType.java
      - copied, changed from r1582723, webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractPropertiesType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java
      - copied, changed from r1582723, webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc13/
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc13/DerivedKeyTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc13/ObjectFactory.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc13/PropertiesType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc13/SecurityContextTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc13/package-info.java
      - copied, changed from r1582723, webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc200502/
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc200502/DerivedKeyTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc200502/ObjectFactory.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc200502/PropertiesType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc200502/SecurityContextTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wssc200502/package-info.java
      - copied, changed from r1582723, webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wsu10/
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wsu10/AbstractAttributedDateTime.java
      - copied, changed from r1582723, webservices/wss4j/trunk/bindings/wsu10-binding/src/main/java/org/apache/wss4j/binding/wsu10/AbstractAttributedDateTime.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wsu10/AttributedDateTime.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wsu10/AttributedURI.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wsu10/ObjectFactory.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wsu10/TimestampType.java
    webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wsu10/package-info.java
      - copied, changed from r1582723, webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java
Removed:
    webservices/wss4j/trunk/bindings/wss10-binding/pom.xml
    webservices/wss4j/trunk/bindings/wss10-binding/src/main/resources/schemas/XMLSchema.dtd
    webservices/wss4j/trunk/bindings/wss10-binding/src/main/resources/schemas/datatypes.dtd
    webservices/wss4j/trunk/bindings/wss10-binding/src/main/resources/schemas/oasis-200401-wss-wssecurity-secext-1.0.xsd
    webservices/wss4j/trunk/bindings/wss10-binding/src/main/resources/schemas/xml.xsd
    webservices/wss4j/trunk/bindings/wss10-binding/src/main/resources/schemas/xmldsig-core-schema.xsd
    webservices/wss4j/trunk/bindings/wss10-binding/src/main/resources/wss10.cat
    webservices/wss4j/trunk/bindings/wss10-binding/src/main/resources/wss10.xjb
    webservices/wss4j/trunk/bindings/wss10-binding/src/main/resources/xmldsig.xjb
    webservices/wss4j/trunk/bindings/wss11-binding/pom.xml
    webservices/wss4j/trunk/bindings/wss11-binding/src/etc/bindings.xsl
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/schemas/XMLSchema.dtd
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/schemas/datatypes.dtd
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/schemas/oasis-wss-wssecurity-secext-1.1.xsd
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/schemas/soap-1.1.xsd
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/schemas/soap-1.2.xsd
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/schemas/xenc-schema.xsd
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/schemas/xml.xsd
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/schemas/xmldsig-core-schema.xsd
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/wss11.cat
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/wss11.xjb
    webservices/wss4j/trunk/bindings/wss11-binding/src/main/resources/xmlsec.xjb
    webservices/wss4j/trunk/bindings/wssc-binding/pom.xml
    webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractDerivedKeyTokenType.java
    webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractPropertiesType.java
    webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java
    webservices/wss4j/trunk/bindings/wssc-binding/src/main/resources/schemas/XMLSchema.dtd
    webservices/wss4j/trunk/bindings/wssc-binding/src/main/resources/schemas/datatypes.dtd
    webservices/wss4j/trunk/bindings/wssc-binding/src/main/resources/schemas/ws-secureconversation-1.3.xsd
    webservices/wss4j/trunk/bindings/wssc-binding/src/main/resources/schemas/ws-secureconversation-200502.xsd
    webservices/wss4j/trunk/bindings/wssc-binding/src/main/resources/schemas/xml.xsd
    webservices/wss4j/trunk/bindings/wssc-binding/src/main/resources/wssc.cat
    webservices/wss4j/trunk/bindings/wssc-binding/src/main/resources/wssc.xjb
    webservices/wss4j/trunk/bindings/wsu10-binding/pom.xml
    webservices/wss4j/trunk/bindings/wsu10-binding/src/main/java/org/apache/wss4j/binding/wsu10/AbstractAttributedDateTime.java
    webservices/wss4j/trunk/bindings/wsu10-binding/src/main/resources/schemas/XMLSchema.dtd
    webservices/wss4j/trunk/bindings/wsu10-binding/src/main/resources/schemas/datatypes.dtd
    webservices/wss4j/trunk/bindings/wsu10-binding/src/main/resources/schemas/oasis-200401-wss-wssecurity-utility-1.0.xsd
    webservices/wss4j/trunk/bindings/wsu10-binding/src/main/resources/schemas/xml.xsd
    webservices/wss4j/trunk/bindings/wsu10-binding/src/main/resources/wsu.cat
    webservices/wss4j/trunk/bindings/wsu10-binding/src/main/resources/wsu10.xjb
Modified:
    webservices/wss4j/trunk/bindings/pom.xml
    webservices/wss4j/trunk/ws-security-stax/pom.xml

Modified: webservices/wss4j/trunk/bindings/pom.xml
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/pom.xml?rev=1582739&r1=1582738&r2=1582739&view=diff
==============================================================================
--- webservices/wss4j/trunk/bindings/pom.xml (original)
+++ webservices/wss4j/trunk/bindings/pom.xml Fri Mar 28 13:01:29 2014
@@ -18,25 +18,29 @@
   under the License.
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
     <parent>
         <groupId>org.apache.wss4j</groupId>
-        <artifactId>wss4j</artifactId>
+        <artifactId>wss4j-parent</artifactId>
         <version>2.0.0-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
+        <relativePath>../parent/pom.xml</relativePath>
     </parent>
+    <modelVersion>4.0.0</modelVersion>
+
     <groupId>org.apache.wss4j</groupId>
     <artifactId>wss4j-bindings</artifactId>
     <version>2.0.0-SNAPSHOT</version>
-    <name>Apache WSS4J Bindings</name>
-    <packaging>pom</packaging>
+    <name>Apache WSS4J WS-Security Bindings</name>
+
+    <properties>
+        <cobertura.skip>true</cobertura.skip>
+    </properties>
 
-    <modules>
-        <module>wsu10-binding</module>
-        <module>wss10-binding</module>
-        <module>wss11-binding</module>
-        <module>wssc-binding</module>
-    </modules>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.santuario</groupId>
+            <artifactId>xmlsec</artifactId>
+            <version>${xmlsec.version}</version>
+        </dependency>
+    </dependencies>
 
 </project>

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/AttributedString.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/AttributedString.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/AttributedString.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/AttributedString.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,151 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This type represents an element with arbitrary attributes.
+ * 
+ * <p>Java class for AttributedString complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="AttributedString">
+ *   &lt;simpleContent>
+ *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
+ *       &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/extension>
+ *   &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "AttributedString", propOrder = {
+    "value"
+})
+@XmlSeeAlso({
+    PasswordString.class,
+    EncodedString.class
+})
+public class AttributedString {
+
+    @XmlValue
+    protected String value;
+    @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
+    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+    @XmlID
+    @XmlSchemaType(name = "ID")
+    protected String id;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the value of the id property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setId(String value) {
+        this.id = value;
+    }
+
+    /**
+     * Gets a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/BinarySecurityTokenType.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/BinarySecurityTokenType.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/BinarySecurityTokenType.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/BinarySecurityTokenType.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,90 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * A security token that is encoded in binary
+ * 
+ * <p>Java class for BinarySecurityTokenType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="BinarySecurityTokenType">
+ *   &lt;simpleContent>
+ *     &lt;extension base="&lt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd>EncodedString">
+ *       &lt;attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/extension>
+ *   &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "BinarySecurityTokenType")
+public class BinarySecurityTokenType
+    extends EncodedString
+{
+
+    @XmlAttribute(name = "ValueType")
+    @XmlSchemaType(name = "anyURI")
+    protected String valueType;
+
+    /**
+     * Gets the value of the valueType property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValueType() {
+        return valueType;
+    }
+
+    /**
+     * Sets the value of the valueType property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValueType(String value) {
+        this.valueType = value;
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/EmbeddedType.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/EmbeddedType.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/EmbeddedType.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/EmbeddedType.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,153 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * This type represents a reference to an embedded security token.
+ * 
+ * <p>Java class for EmbeddedType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="EmbeddedType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;any processContents='lax'/>
+ *       &lt;/choice>
+ *       &lt;attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EmbeddedType", propOrder = {
+    "any"
+})
+public class EmbeddedType {
+
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+    @XmlAttribute(name = "ValueType")
+    @XmlSchemaType(name = "anyURI")
+    protected String valueType;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the any property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the any property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getAny().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Element }
+     * {@link Object }
+     * 
+     * 
+     */
+    public List<Object> getAny() {
+        if (any == null) {
+            any = new ArrayList<Object>();
+        }
+        return this.any;
+    }
+
+    /**
+     * Gets the value of the valueType property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValueType() {
+        return valueType;
+    }
+
+    /**
+     * Sets the value of the valueType property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValueType(String value) {
+        this.valueType = value;
+    }
+
+    /**
+     * Gets a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/EncodedString.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/EncodedString.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/EncodedString.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/EncodedString.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,95 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * This type is used for elements containing stringified binary data.
+ * 
+ * <p>Java class for EncodedString complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="EncodedString">
+ *   &lt;simpleContent>
+ *     &lt;extension base="&lt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd>AttributedString">
+ *       &lt;attribute name="EncodingType" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/extension>
+ *   &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EncodedString")
+@XmlSeeAlso({
+    BinarySecurityTokenType.class,
+    KeyIdentifierType.class
+})
+public class EncodedString
+    extends AttributedString
+{
+
+    @XmlAttribute(name = "EncodingType")
+    @XmlSchemaType(name = "anyURI")
+    protected String encodingType;
+
+    /**
+     * Gets the value of the encodingType property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getEncodingType() {
+        return encodingType;
+    }
+
+    /**
+     * Sets the value of the encodingType property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setEncodingType(String value) {
+        this.encodingType = value;
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/KeyIdentifierType.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/KeyIdentifierType.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/KeyIdentifierType.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/KeyIdentifierType.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,90 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * A security token key identifier
+ * 
+ * <p>Java class for KeyIdentifierType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="KeyIdentifierType">
+ *   &lt;simpleContent>
+ *     &lt;extension base="&lt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd>EncodedString">
+ *       &lt;attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/extension>
+ *   &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "KeyIdentifierType")
+public class KeyIdentifierType
+    extends EncodedString
+{
+
+    @XmlAttribute(name = "ValueType")
+    @XmlSchemaType(name = "anyURI")
+    protected String valueType;
+
+    /**
+     * Gets the value of the valueType property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValueType() {
+        return valueType;
+    }
+
+    /**
+     * Sets the value of the valueType property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValueType(String value) {
+        this.valueType = value;
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/ObjectFactory.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/ObjectFactory.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/ObjectFactory.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/ObjectFactory.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,248 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each 
+ * Java content interface and Java element interface 
+ * generated in the org.apache.wss4j.binding.wss10 package. 
+ * <p>An ObjectFactory allows you to programatically 
+ * construct new instances of the Java representation 
+ * for XML content. The Java representation of XML 
+ * content can consist of schema derived interfaces 
+ * and classes representing the binding of schema 
+ * type definitions, element declarations and model 
+ * groups.  Factory methods for each of these are 
+ * provided in this class.
+ * 
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+    private final static QName _Nonce_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Nonce");
+    private final static QName _Reference_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Reference");
+    private final static QName _BinarySecurityToken_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "BinarySecurityToken");
+    private final static QName _UsernameToken_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "UsernameToken");
+    private final static QName _KeyIdentifier_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "KeyIdentifier");
+    private final static QName _Embedded_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Embedded");
+    private final static QName _Security_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Security");
+    private final static QName _SecurityTokenReference_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "SecurityTokenReference");
+    private final static QName _Password_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "Password");
+    private final static QName _TransformationParameters_QNAME = new QName("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "TransformationParameters");
+
+    /**
+     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.wss4j.binding.wss10
+     * 
+     */
+    public ObjectFactory() {
+    }
+
+    /**
+     * Create an instance of {@link SecurityHeaderType }
+     * 
+     */
+    public SecurityHeaderType createSecurityHeaderType() {
+        return new SecurityHeaderType();
+    }
+
+    /**
+     * Create an instance of {@link EmbeddedType }
+     * 
+     */
+    public EmbeddedType createEmbeddedType() {
+        return new EmbeddedType();
+    }
+
+    /**
+     * Create an instance of {@link TransformationParametersType }
+     * 
+     */
+    public TransformationParametersType createTransformationParametersType() {
+        return new TransformationParametersType();
+    }
+
+    /**
+     * Create an instance of {@link PasswordString }
+     * 
+     */
+    public PasswordString createPasswordString() {
+        return new PasswordString();
+    }
+
+    /**
+     * Create an instance of {@link SecurityTokenReferenceType }
+     * 
+     */
+    public SecurityTokenReferenceType createSecurityTokenReferenceType() {
+        return new SecurityTokenReferenceType();
+    }
+
+    /**
+     * Create an instance of {@link UsernameTokenType }
+     * 
+     */
+    public UsernameTokenType createUsernameTokenType() {
+        return new UsernameTokenType();
+    }
+
+    /**
+     * Create an instance of {@link BinarySecurityTokenType }
+     * 
+     */
+    public BinarySecurityTokenType createBinarySecurityTokenType() {
+        return new BinarySecurityTokenType();
+    }
+
+    /**
+     * Create an instance of {@link ReferenceType }
+     * 
+     */
+    public ReferenceType createReferenceType() {
+        return new ReferenceType();
+    }
+
+    /**
+     * Create an instance of {@link EncodedString }
+     * 
+     */
+    public EncodedString createEncodedString() {
+        return new EncodedString();
+    }
+
+    /**
+     * Create an instance of {@link KeyIdentifierType }
+     * 
+     */
+    public KeyIdentifierType createKeyIdentifierType() {
+        return new KeyIdentifierType();
+    }
+
+    /**
+     * Create an instance of {@link AttributedString }
+     * 
+     */
+    public AttributedString createAttributedString() {
+        return new AttributedString();
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link EncodedString }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Nonce")
+    public JAXBElement<EncodedString> createNonce(EncodedString value) {
+        return new JAXBElement<EncodedString>(_Nonce_QNAME, EncodedString.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Reference")
+    public JAXBElement<ReferenceType> createReference(ReferenceType value) {
+        return new JAXBElement<ReferenceType>(_Reference_QNAME, ReferenceType.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link BinarySecurityTokenType }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "BinarySecurityToken")
+    public JAXBElement<BinarySecurityTokenType> createBinarySecurityToken(BinarySecurityTokenType value) {
+        return new JAXBElement<BinarySecurityTokenType>(_BinarySecurityToken_QNAME, BinarySecurityTokenType.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link UsernameTokenType }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "UsernameToken")
+    public JAXBElement<UsernameTokenType> createUsernameToken(UsernameTokenType value) {
+        return new JAXBElement<UsernameTokenType>(_UsernameToken_QNAME, UsernameTokenType.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link KeyIdentifierType }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "KeyIdentifier")
+    public JAXBElement<KeyIdentifierType> createKeyIdentifier(KeyIdentifierType value) {
+        return new JAXBElement<KeyIdentifierType>(_KeyIdentifier_QNAME, KeyIdentifierType.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link EmbeddedType }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Embedded")
+    public JAXBElement<EmbeddedType> createEmbedded(EmbeddedType value) {
+        return new JAXBElement<EmbeddedType>(_Embedded_QNAME, EmbeddedType.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link SecurityHeaderType }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Security")
+    public JAXBElement<SecurityHeaderType> createSecurity(SecurityHeaderType value) {
+        return new JAXBElement<SecurityHeaderType>(_Security_QNAME, SecurityHeaderType.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link SecurityTokenReferenceType }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "SecurityTokenReference")
+    public JAXBElement<SecurityTokenReferenceType> createSecurityTokenReference(SecurityTokenReferenceType value) {
+        return new JAXBElement<SecurityTokenReferenceType>(_SecurityTokenReference_QNAME, SecurityTokenReferenceType.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link PasswordString }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "Password")
+    public JAXBElement<PasswordString> createPassword(PasswordString value) {
+        return new JAXBElement<PasswordString>(_Password_QNAME, PasswordString.class, null, value);
+    }
+
+    /**
+     * Create an instance of {@link JAXBElement }{@code <}{@link TransformationParametersType }{@code >}}
+     * 
+     */
+    @XmlElementDecl(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", name = "TransformationParameters")
+    public JAXBElement<TransformationParametersType> createTransformationParameters(TransformationParametersType value) {
+        return new JAXBElement<TransformationParametersType>(_TransformationParameters_QNAME, TransformationParametersType.class, null, value);
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/PasswordString.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/PasswordString.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/PasswordString.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/PasswordString.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,90 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * This type is used for password elements per Section 4.1.
+ * 
+ * <p>Java class for PasswordString complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="PasswordString">
+ *   &lt;simpleContent>
+ *     &lt;extension base="&lt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd>AttributedString">
+ *       &lt;attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/extension>
+ *   &lt;/simpleContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PasswordString")
+public class PasswordString
+    extends AttributedString
+{
+
+    @XmlAttribute(name = "Type")
+    @XmlSchemaType(name = "anyURI")
+    protected String type;
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setType(String value) {
+        this.type = value;
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/ReferenceType.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/ReferenceType.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/ReferenceType.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/ReferenceType.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,140 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This type represents a reference to an external security token.
+ * 
+ * <p>Java class for ReferenceType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="ReferenceType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *       &lt;attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ReferenceType")
+public class ReferenceType {
+
+    @XmlAttribute(name = "URI")
+    @XmlSchemaType(name = "anyURI")
+    protected String uri;
+    @XmlAttribute(name = "ValueType")
+    @XmlSchemaType(name = "anyURI")
+    protected String valueType;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the uri property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getURI() {
+        return uri;
+    }
+
+    /**
+     * Sets the value of the uri property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setURI(String value) {
+        this.uri = value;
+    }
+
+    /**
+     * Gets the value of the valueType property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValueType() {
+        return valueType;
+    }
+
+    /**
+     * Sets the value of the valueType property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValueType(String value) {
+        this.valueType = value;
+    }
+
+    /**
+     * Gets a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/SecurityHeaderType.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/SecurityHeaderType.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/SecurityHeaderType.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/SecurityHeaderType.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,123 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.
+ * 
+ * <p>Java class for SecurityHeaderType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="SecurityHeaderType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SecurityHeaderType", propOrder = {
+    "any"
+})
+public class SecurityHeaderType {
+
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the any property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the any property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getAny().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Element }
+     * {@link Object }
+     * 
+     * 
+     */
+    public List<Object> getAny() {
+        if (any == null) {
+            any = new ArrayList<Object>();
+        }
+        return this.any;
+    }
+
+    /**
+     * Gets a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/SecurityTokenReferenceType.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/SecurityTokenReferenceType.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/SecurityTokenReferenceType.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/SecurityTokenReferenceType.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,190 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * This type is used reference a security token.
+ * 
+ * <p>Java class for SecurityTokenReferenceType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="SecurityTokenReferenceType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *         &lt;any processContents='lax'/>
+ *       &lt;/choice>
+ *       &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
+ *       &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Usage"/>
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SecurityTokenReferenceType", propOrder = {
+    "any"
+})
+public class SecurityTokenReferenceType {
+
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+    @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
+    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+    @XmlID
+    @XmlSchemaType(name = "ID")
+    protected String id;
+    @XmlAttribute(name = "Usage", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd")
+    protected List<String> usage;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the any property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the any property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getAny().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Element }
+     * {@link Object }
+     * 
+     * 
+     */
+    public List<Object> getAny() {
+        if (any == null) {
+            any = new ArrayList<Object>();
+        }
+        return this.any;
+    }
+
+    /**
+     * Gets the value of the id property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setId(String value) {
+        this.id = value;
+    }
+
+    /**
+     * Gets the value of the usage property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the usage property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getUsage().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link String }
+     * 
+     * 
+     */
+    public List<String> getUsage() {
+        if (usage == null) {
+            usage = new ArrayList<String>();
+        }
+        return this.usage;
+    }
+
+    /**
+     * Gets a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/TransformationParametersType.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/TransformationParametersType.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/TransformationParametersType.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/TransformationParametersType.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,123 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.
+ * 
+ * <p>Java class for TransformationParametersType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="TransformationParametersType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "TransformationParametersType", propOrder = {
+    "any"
+})
+public class TransformationParametersType {
+
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the any property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the any property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getAny().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Element }
+     * {@link Object }
+     * 
+     * 
+     */
+    public List<Object> getAny() {
+        if (any == null) {
+            any = new ArrayList<Object>();
+        }
+        return this.any;
+    }
+
+    /**
+     * Gets a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/UsernameTokenType.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/UsernameTokenType.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/UsernameTokenType.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/UsernameTokenType.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,187 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:20 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss10;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * This type represents a username token per Section 4.1
+ * 
+ * <p>Java class for UsernameTokenType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="UsernameTokenType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="Username" type="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}AttributedString"/>
+ *         &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
+ *       &lt;anyAttribute processContents='lax' namespace='##other'/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "UsernameTokenType", propOrder = {
+    "username",
+    "any"
+})
+public class UsernameTokenType {
+
+    @XmlElement(name = "Username", required = true)
+    protected AttributedString username;
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+    @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
+    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+    @XmlID
+    @XmlSchemaType(name = "ID")
+    protected String id;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the username property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link AttributedString }
+     *     
+     */
+    public AttributedString getUsername() {
+        return username;
+    }
+
+    /**
+     * Sets the value of the username property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link AttributedString }
+     *     
+     */
+    public void setUsername(AttributedString value) {
+        this.username = value;
+    }
+
+    /**
+     * Gets the value of the any property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the any property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getAny().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Element }
+     * {@link Object }
+     * 
+     * 
+     */
+    public List<Object> getAny() {
+        if (any == null) {
+            any = new ArrayList<Object>();
+        }
+        return this.any;
+    }
+
+    /**
+     * Gets the value of the id property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setId(String value) {
+        this.id = value;
+    }
+
+    /**
+     * Gets a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Copied: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/package-info.java (from r1582723, webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java)
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/package-info.java?p2=webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/package-info.java&p1=webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java&r1=1582723&r2=1582739&rev=1582739&view=diff
==============================================================================
--- webservices/wss4j/trunk/bindings/wssc-binding/src/main/java/org/apache/wss4j/binding/wssc/AbstractSecurityContextTokenType.java (original)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss10/package-info.java Fri Mar 28 13:01:29 2014
@@ -16,18 +16,12 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.wss4j.binding.wssc;
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.28 at 12:48:06 PM GMT 
+//
 
-import javax.xml.namespace.QName;
-import java.util.List;
-import java.util.Map;
-
-public abstract class AbstractSecurityContextTokenType {
-    public abstract List<Object> getAny();
-
-    public abstract String getId();
-
-    public abstract void setId(String value);
-
-    public abstract Map<QName, String> getOtherAttributes();
-}
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.wss4j.binding.wss10;

Added: webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss11/EncryptedHeaderType.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss11/EncryptedHeaderType.java?rev=1582739&view=auto
==============================================================================
--- webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss11/EncryptedHeaderType.java (added)
+++ webservices/wss4j/trunk/bindings/src/main/java/org/apache/wss4j/binding/wss11/EncryptedHeaderType.java Fri Mar 28 13:01:29 2014
@@ -0,0 +1,268 @@
+/**
+ * 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.
+ */
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
+// Any modifications to this file will be lost upon recompilation of the source schema. 
+// Generated on: 2014.03.27 at 03:31:22 PM GMT 
+//
+
+
+package org.apache.wss4j.binding.wss11;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import org.apache.xml.security.binding.xmlenc.EncryptedDataType;
+
+
+/**
+ * <p>Java class for EncryptedHeaderType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="EncryptedHeaderType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedData"/>
+ *       &lt;/sequence>
+ *       &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
+ *       &lt;attribute ref="{http://schemas.xmlsoap.org/soap/envelope/}mustUnderstand"/>
+ *       &lt;attribute ref="{http://schemas.xmlsoap.org/soap/envelope/}actor"/>
+ *       &lt;attribute ref="{http://www.w3.org/2003/05/soap-envelope}mustUnderstand"/>
+ *       &lt;attribute ref="{http://www.w3.org/2003/05/soap-envelope}role"/>
+ *       &lt;attribute ref="{http://www.w3.org/2003/05/soap-envelope}relay"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "EncryptedHeaderType", propOrder = {
+    "encryptedData"
+})
+public class EncryptedHeaderType {
+
+    @XmlElement(name = "EncryptedData", namespace = "http://www.w3.org/2001/04/xmlenc#", required = true)
+    protected EncryptedDataType encryptedData;
+    @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
+    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+    @XmlID
+    @XmlSchemaType(name = "ID")
+    protected String id;
+    @XmlAttribute(name = "mustUnderstand", namespace = "http://schemas.xmlsoap.org/soap/envelope/")
+    protected Boolean mustUnderstand11;
+    @XmlAttribute(name = "actor", namespace = "http://schemas.xmlsoap.org/soap/envelope/")
+    @XmlSchemaType(name = "anyURI")
+    protected String actor;
+    @XmlAttribute(name = "mustUnderstand", namespace = "http://www.w3.org/2003/05/soap-envelope")
+    protected Boolean mustUnderstand12;
+    @XmlAttribute(name = "role", namespace = "http://www.w3.org/2003/05/soap-envelope")
+    @XmlSchemaType(name = "anyURI")
+    protected String role;
+    @XmlAttribute(name = "relay", namespace = "http://www.w3.org/2003/05/soap-envelope")
+    protected Boolean relay;
+
+    /**
+     * Gets the value of the encryptedData property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EncryptedDataType }
+     *     
+     */
+    public EncryptedDataType getEncryptedData() {
+        return encryptedData;
+    }
+
+    /**
+     * Sets the value of the encryptedData property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EncryptedDataType }
+     *     
+     */
+    public void setEncryptedData(EncryptedDataType value) {
+        this.encryptedData = value;
+    }
+
+    /**
+     * Gets the value of the id property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setId(String value) {
+        this.id = value;
+    }
+
+    /**
+     * Gets the value of the mustUnderstand11 property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public Boolean isMustUnderstand11() {
+        return mustUnderstand11;
+    }
+
+    /**
+     * Sets the value of the mustUnderstand11 property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setMustUnderstand11(Boolean value) {
+        this.mustUnderstand11 = value;
+    }
+
+    /**
+     * Gets the value of the actor property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getActor() {
+        return actor;
+    }
+
+    /**
+     * Sets the value of the actor property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setActor(String value) {
+        this.actor = value;
+    }
+
+    /**
+     * Gets the value of the mustUnderstand12 property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Boolean }
+     *     
+     */
+    public boolean isMustUnderstand12() {
+        if (mustUnderstand12 == null) {
+            return false;
+        } else {
+            return mustUnderstand12;
+        }
+    }
+
+    /**
+     * Sets the value of the mustUnderstand12 property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Boolean }
+     *     
+     */
+    public void setMustUnderstand12(Boolean value) {
+        this.mustUnderstand12 = value;
+    }
+
+    /**
+     * Gets the value of the role property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getRole() {
+        return role;
+    }
+
+    /**
+     * Sets the value of the role property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setRole(String value) {
+        this.role = value;
+    }
+
+    /**
+     * Gets the value of the relay property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Boolean }
+     *     
+     */
+    public boolean isRelay() {
+        if (relay == null) {
+            return false;
+        } else {
+            return relay;
+        }
+    }
+
+    /**
+     * Sets the value of the relay property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Boolean }
+     *     
+     */
+    public void setRelay(Boolean value) {
+        this.relay = value;
+    }
+
+}



Mime
View raw message