User: starksm
Date: 01/07/29 11:17:40
Modified: src/main/org/jboss/test/web/test TestWebIntegration.java
Log:
Flush security auth cache to avoid conflicts due to tests using the same
security domain with different user to role mappings.
Clean up failures due to the JMS name changes
Revision Changes Path
1.10 +6 -1
jbosstest/src/main/org/jboss/test/web/test/TestWebIntegration.java
Index: TestWebIntegration.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/web/test/TestWebIntegration.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- TestWebIntegration.java 2001/07/10 02:34:05 1.9
+++ TestWebIntegration.java 2001/07/29 18:17:40 1.10
@@ -26,7 +26,7 @@
with a role of 'AuthorizedUser' in the servlet container.
@author [EMAIL PROTECTED]
-@version $Revision: 1.9 $
+@version $Revision: 1.10 $
*/
public class TestWebIntegration extends TestCase
{
@@ -76,6 +76,11 @@
e.printStackTrace();
fail("Failed to deploy jbosstest-web.ear");
}
+ // Flush the security domain cache to avoid conflicts with other
testcases
+ ObjectName jaasMgr = new
ObjectName("Security:name=JaasSecurityManager");
+ params = new Object[]{"other"};
+ signature = new String[]{"java.lang.String"};
+ server.invoke(jaasMgr, "flushAuthenticationCache", params,
signature);
}
else
{
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development