To whomever can help,

1. How up-to-date (version 1.4) is the Apache Rampart website 
http://ws.apache.org/rampart/ ?

2. In particular what is the version status of the "Rampart Configuration" 
table and the source code that is provided at the Web Access link 
https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/ .

3. Is the Apache Axis2 Rampart Module website 
http://ws.apache.org/axis2/modules/rampart/1_3/security-module.html still 
accurate? (Although it seems to be for Rampart 1.3)

4. What files are necessary to run Rampart? (What files do Rampart 
configurations affect or need to be included in?)

5. In particular, which of the following schema is the correct one for Rampart 
1.4 (and what file do they go in, ex. services.xml)?

#######################################################################################################

Schema #1 from 
http://ws.apache.org/axis2/modules/rampart/1_3/sec-conf/rampart-config.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:ramp="http://ws.apache.org/rampart/policy"; 
targetNamespace="http://ws.apache.org/rampart/policy"; 
elementFormDefault="qualified" attributeFormDefault="unqualified">
        <xs:element name="RampartConfig">
                <xs:annotation>
                        <xs:documentation>Rampart specific configuration 
assertion</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                        <xs:sequence>
                                <xs:element name="user" type="xs:string"/>
                                <xs:element name="encryptionUser" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="passwordCallbackClass" 
type="xs:string"/>
                                <xs:element name="encryptionCypto" 
type="ramp:crypto" minOccurs="0"/>
                                <xs:element name="signatureCypto" 
type="ramp:crypto" minOccurs="0"/>
                        </xs:sequence>
                </xs:complexType>
        </xs:element>
        <xs:complexType name="crypto">
                <xs:annotation>
                        <xs:documentation>Crypto configuration 
assertion</xs:documentation>
                </xs:annotation>
                <xs:sequence maxOccurs="unbounded">
                        <xs:element name="property" type="xs:string"/>
                </xs:sequence>
                <xs:attribute name="provider"/>
        </xs:complexType>
</xs:schema>


#######################################################################################################

Schema #2 from 
http://ws.apache.org/axis2/modules/rampart/1_3/sec-conf/out-action.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified" attributeFormDefault="unqualified">
        <xs:element name="action">
                <xs:annotation>
                        <xs:documentation>Outflow security 'action' 
configuration</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                        <xs:sequence>
                                <xs:element name="items" type="xs:string"/>
                                <xs:element name="user" type="xs:string"/>
                                <xs:element name="passwordCallbackClass" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="signaturePropFile" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="encryptionPropFile" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="encryptionPropFile" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="signatureKeyIdentifier" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="encryptionKeyIdentifier" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="encryptionUser" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="signatureParts" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="encryptionParts" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="optimizeParts" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="encryptionSymAlgorithm" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="EmbeddedKeyCallbackClass" 
type="xs:string" minOccurs="0"/>
                                <xs:element 
name="encryptionKeyTransportAlgorithm" type="xs:string" minOccurs="0"/>
                                <xs:element name="EmbeddedKeyName" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="timeToLive" type="xs:string" 
minOccurs="0"/>
                        </xs:sequence>
                </xs:complexType>
        </xs:element>
</xs:schema>


#######################################################################################################

Schema #3 from http://ws.apache.org/rampart/rampart-config.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:ramp="http://ws.apache.org/rampart/policy"; 
targetNamespace="http://ws.apache.org/rampart/policy"; 
elementFormDefault="qualified" attributeFormDefault="unqualified">
        <xs:element name="RampartConfig">
                <xs:annotation>
                        
<xs:documentation>http://ws.apache.org/rampart/rampartconfig-guide.html</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                        <xs:sequence>
                                <xs:element name="user" type="xs:string"/>
                                <xs:element name="userCertAlias" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="encryptionUser" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="passwordCallbackClass" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="policyValidatorCbClass" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="signatureCrypto" 
type="ramp:crypto" minOccurs="0"/>
                                <xs:element name="encryptionCypto" 
type="ramp:crypto" minOccurs="0"/>
                                <xs:element name="decryptionCrypto" 
type="ramp:crypto" minOccurs="0"/>
                                <xs:element name="timestampTTL" 
type="xs:integer"/>
                                <xs:element name="timestampMaxSkew" 
type="xs:integer"  minOccurs="0"/>
                                <xs:element name="tokenStoreClass" 
type="xs:string" minOccurs="0"/>
                                <xs:element name="sslConfig" type="ssl" 
minOccurs="0"/>
                        </xs:sequence>
                </xs:complexType>
        </xs:element>
        <xs:complexType name="crypto">
                <xs:annotation>
                        
<xs:documentation>http://ws.apache.org/wss4j/apidocs/org/apache/ws/security/components/crypto/Crypto.html</xs:documentation>
                </xs:annotation>
                <xs:sequence maxOccurs="unbounded">
                        <xs:element name="property" type="xs:string"/>
                </xs:sequence>
                <xs:attribute name="provider"/>
        </xs:complexType>
        <xs:complexType name="ssl">
                <xs:sequence maxOccurs="unbounded">
                        <xs:element name="property" type="xs:string"/>
                </xs:sequence>
        </xs:complexType>
</xs:schema>


#######################################################################################################


Schema #4 from ???????????

Mystery Schema that I am unable to find.

Thank you!

Reply via email to