[jboss-cvs] JBossAS SVN: r112721 - branches/JBPAPP_5_1_2_GA_JBPAPP-7788/testsuite/src/main/org/jboss/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 2 05:19:16 EST 2012
Author: pskopek at redhat.com
Date: 2012-03-02 05:19:16 -0500 (Fri, 02 Mar 2012)
New Revision: 112721
Modified:
branches/JBPAPP_5_1_2_GA_JBPAPP-7788/testsuite/src/main/org/jboss/test/NamingUtil.java
Log:
[JBPAPP-7788] test fixes with regard to issue fixed by this JIRA
Modified: branches/JBPAPP_5_1_2_GA_JBPAPP-7788/testsuite/src/main/org/jboss/test/NamingUtil.java
===================================================================
--- branches/JBPAPP_5_1_2_GA_JBPAPP-7788/testsuite/src/main/org/jboss/test/NamingUtil.java 2012-03-02 08:20:02 UTC (rev 112720)
+++ branches/JBPAPP_5_1_2_GA_JBPAPP-7788/testsuite/src/main/org/jboss/test/NamingUtil.java 2012-03-02 10:19:16 UTC (rev 112721)
@@ -116,16 +116,6 @@
Properties env = new Properties();
env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.HttpNamingContextFactory");
- // Specify the login conf file location
- String authConf = getResourceURL("security/auth.conf");
- log.debug("Using auth.conf: "+authConf);
- System.setProperty("java.security.auth.login.config", authConf);
- AppCallbackHandler handler = new AppCallbackHandler("admin", "admin".toCharArray());
- LoginContext lc = new LoginContext("createTestJNDIBinding", handler);
- lc.login();
-
- // Test the secured JNDI factory
- // JBPAPP-2997
env.setProperty(Context.PROVIDER_URL, "http://" + serverHost + ":8080/" + jndiFactoryUrlSuffix);
log.debug("Creating InitialContext with env="+env);
InitialContext ctx = new InitialContext(env);
More information about the jboss-cvs-commits
mailing list