djencks 2005/09/28 18:14:25
Modified:
modules/openejb-builder/src/test/org/openejb/corba/security/config/tss
TSSConfigEditorTest.java
Log:
GERONIMO-1027, GERONIMO-957. Version our schemas, and provide specific jetty
and tomcat schemas. Schema processing cleanup. A couple other minor fixes
Revision Changes Path
1.15 +6 -6
openejb/modules/openejb-builder/src/test/org/openejb/corba/security/config/tss/TSSConfigEditorTest.java
Index: TSSConfigEditorTest.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test/org/openejb/corba/security/config/tss/TSSConfigEditorTest.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- TSSConfigEditorTest.java 6 Aug 2005 21:33:56 -0000 1.14
+++ TSSConfigEditorTest.java 28 Sep 2005 22:14:25 -0000 1.15
@@ -63,7 +63,7 @@
* @version $Revision$ $Date$
*/
public class TSSConfigEditorTest extends TestCase {
- private static final String TEST_XML1 = "<foo:tss
xmlns:foo=\"http://www.openejb.org/xml/ns/corba-tss-config_1_0\">\n" +
+ private static final String TEST_XML1 = "<foo:tss
xmlns:foo=\"http://www.openejb.org/xml/ns/corba-tss-config-2.0\">\n" +
"
<foo:description>this is a foo</foo:description>" +
" <foo:SSL
port=\"443\" hostname=\"corba.apache.org\">\n" +
"
<foo:supports>Integrity Confidentiality EstablishTrustInTarget
EstablishTrustInClient</foo:supports>\n" +
@@ -74,8 +74,8 @@
"
</foo:compoundSecMech>\n" +
"
</foo:compoundSecMechTypeList>\n" +
" </foo:tss>";
- private static final String TEST_XML2 = "<foo:tss inherit=\"true\"
xmlns:foo=\"http://www.openejb.org/xml/ns/corba-tss-config_1_0\"/>";
- private static final String TEST_XML3 = "<tss
xmlns=\"http://www.openejb.org/xml/ns/corba-tss-config_1_0\">\n" +
+ private static final String TEST_XML2 = "<foo:tss inherit=\"true\"
xmlns:foo=\"http://www.openejb.org/xml/ns/corba-tss-config-2.0\"/>";
+ private static final String TEST_XML3 = "<tss
xmlns=\"http://www.openejb.org/xml/ns/corba-tss-config-2.0\">\n" +
" <SSL
port=\"443\">\n" +
"
<supports>BAD_ENUM Integrity Confidentiality EstablishTrustInTarget
EstablishTrustInClient</supports>\n" +
"
<requires>Integrity</requires>\n" +
@@ -139,7 +139,7 @@
"
iiop.TransportServerInitializerClass=org.openorb.orb.ssl.SSLTransportServerInitializer\n"
+
"\n" +
"
secure.server.allowUnsecure=false";
- private static final String TEST_XML4 = " <tss:tss
xmlns:tss=\"http://www.openejb.org/xml/ns/corba-tss-config_1_0\"
xmlns:sec=\"http://geronimo.apache.org/xml/ns/security\">\n" +
+ private static final String TEST_XML4 = " <tss:tss
xmlns:tss=\"http://www.openejb.org/xml/ns/corba-tss-config-2.0\"
xmlns:sec=\"http://geronimo.apache.org/xml/ns/security-1.0\">\n" +
"
<tss:default-principal realm-name=\"public-properties-realm\">\n" +
"
<sec:principal
class=\"org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal\"
name=\"guest\"/>\n" +
"
</tss:default-principal>\n" +