geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r109647 - /geronimo/branches/djencks/jetty-deployer1/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
Date Fri, 03 Dec 2004 08:11:54 GMT
Author: djencks
Date: Fri Dec  3 00:11:53 2004
New Revision: 109647

URL: http://svn.apache.org/viewcvs?view=rev&rev=109647
Log:
update to current JettyWebAppJACCContext attributes
Modified:
   geronimo/branches/djencks/jetty-deployer1/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java

Modified: geronimo/branches/djencks/jetty-deployer1/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
Url: http://svn.apache.org/viewcvs/geronimo/branches/djencks/jetty-deployer1/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java?view=diff&rev=109647&p1=geronimo/branches/djencks/jetty-deployer1/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java&r1=109646&p2=geronimo/branches/djencks/jetty-deployer1/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java&r2=109647
==============================================================================
--- geronimo/branches/djencks/jetty-deployer1/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
(original)
+++ geronimo/branches/djencks/jetty-deployer1/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/AbstractWebModuleTest.java
Fri Dec  3 00:11:53 2004
@@ -119,8 +119,7 @@
 
     protected void setUpSecureAppContext(Security securityConfig, Set uncheckedPermissions,
Set excludedPermissions, Map rolePermissions, Set securityRoles) throws Exception {
         GBeanData app = new GBeanData(webModuleName, JettyWebAppJACCContext.GBEAN_INFO);
-        app.setAttribute("userRealmName", "Test JAAS Realm");
-        app.setAttribute("securityRealmName", "jaasTest");
+        app.setAttribute("loginDomainName", "jaasTest");
         app.setAttribute("securityConfig", securityConfig);
         app.setAttribute("uncheckedPermissions", uncheckedPermissions);
         app.setAttribute("excludedPermissions", excludedPermissions);
@@ -131,7 +130,6 @@
         formAuthenticator.setErrorPage("/auth/logonError.html?param=test");
         app.setAttribute("realmName", "Test JAAS Realm");
         app.setAttribute("authenticator", formAuthenticator);
-//        app.setReferencePattern("SecurityService", securityServiceName);
         app.setAttribute("policyContextID", "TEST");
         app.setAttribute("uri", URI.create("war3/"));
         app.setAttribute("componentContext", null);
@@ -141,7 +139,6 @@
         app.setAttribute("webClassPath", new URI[] {});
         app.setAttribute("contextPriorityClassLoader", Boolean.FALSE);
         app.setAttribute("configurationBaseUrl", new File("src/test-resources/deployables/").toURL());
-//        app.setAttribute("configurationBaseUrl", Thread.currentThread().getContextClassLoader().getResource("deployables/"));
         app.setReferencePattern("TransactionContextManager", tcmName);
         app.setReferencePattern("TrackedConnectionAssociator", ctcName);
         app.setReferencePattern("JettyContainer", containerName);

Mime
View raw message