You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Roxanne Yee <ry...@akimeka.com> on 2008/07/11 01:52:01 UTC

Important Update Question: Apache Rampart Website

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!

Re: Important Update Question: Apache Rampart Website

Posted by Nandana Mihindukulasooriya <na...@gmail.com>.
Hi Roxanne,

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


We updated the site with Rampart 1.4 release, so it contains most up-to-date
information about Rampart 1.4 compared to other references.

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/ .


Rampart configuration table in the site is for Rampart 1.4 . Most up-to-date
one which corresponds to Rampart trunk can be found here.
https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/documentation/src/site/resources/rampart-config.xsd

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)
>

It is better to refer to Rampart site as it will be updated Rampart specific
things.

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

I know you must have gone through these already, doesn't these two tutorials
help you in that matter.
http://wso2.org/library/3190
https://wso2.org/library/3415

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)?
>

http://ws.apache.org/rampart/rampart-config.xsd

thanks,
nandana

-- 
Nandana Mihindukulasooriya
WSO2 inc.

http://nandana83.blogspot.com/
<http://nandanasm.wordpress.com/>