[jboss-cvs] JBossAS SVN: r88858 - branches/Branch_5_x/security/src/main/org/jboss/security/integration.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu May 14 05:29:46 EDT 2009
Author: anil.saldhana at jboss.com
Date: 2009-05-14 05:29:46 -0400 (Thu, 14 May 2009)
New Revision: 88858
Modified:
branches/Branch_5_x/security/src/main/org/jboss/security/integration/SecurityDomainObjectFactory.java
Log:
revert the unintentional change
Modified: branches/Branch_5_x/security/src/main/org/jboss/security/integration/SecurityDomainObjectFactory.java
===================================================================
--- branches/Branch_5_x/security/src/main/org/jboss/security/integration/SecurityDomainObjectFactory.java 2009-05-14 09:11:36 UTC (rev 88857)
+++ branches/Branch_5_x/security/src/main/org/jboss/security/integration/SecurityDomainObjectFactory.java 2009-05-14 09:29:46 UTC (rev 88858)
@@ -51,7 +51,7 @@
*/
public class SecurityDomainObjectFactory implements InvocationHandler, ObjectFactory
{
- private JNDIBasedSecurityManagement securityManagement = null;
+ private JNDIBasedSecurityManagement securityManagement = new JNDIBasedSecurityManagement();
public void setSecurityManagement(JNDIBasedSecurityManagement sm)
{
@@ -84,11 +84,6 @@
String securityDomain = null;
Name name = null;
- //Ensure that we get a securityManagement instance from JNDI
- if(securityManagement == null)
- {
- securityManagement = (JNDIBasedSecurityManagement) ctx.lookup("java:/securityManagement");
- }
String methodName = method.getName();
if( methodName.equals("toString") == true )
More information about the jboss-cvs-commits
mailing list