[jboss-cvs] JBossAS SVN: r83022 - branches/Branch_4_2/server/src/main/org/jboss/naming.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Jan 18 01:12:53 EST 2009


Author: acoliver at jboss.org
Date: 2009-01-18 01:12:52 -0500 (Sun, 18 Jan 2009)
New Revision: 83022

Modified:
   branches/Branch_4_2/server/src/main/org/jboss/naming/HttpNamingContextFactory.java
Log:
oops


Modified: branches/Branch_4_2/server/src/main/org/jboss/naming/HttpNamingContextFactory.java
===================================================================
--- branches/Branch_4_2/server/src/main/org/jboss/naming/HttpNamingContextFactory.java	2009-01-18 05:59:46 UTC (rev 83021)
+++ branches/Branch_4_2/server/src/main/org/jboss/naming/HttpNamingContextFactory.java	2009-01-18 06:12:52 UTC (rev 83022)
@@ -117,7 +117,7 @@
       // Get the login principal and credentials from the JNDI env
       Object credentials = env.get(Context.SECURITY_CREDENTIALS);
       Object principal = env.get(Context.SECURITY_PRINCIPAL);
-      if(principal == null || principal.trim().equals("") || credentials == null) {
+      if(principal == null || credentials == null) {
            return;  //don't bother and don't throw any exceptions
       }
       try




More information about the jboss-cvs-commits mailing list