User: starksm
Date: 01/06/15 01:30:10
Modified: src/main/org/jboss Main.java
Log:
Remove the DocumentBuilderFactory.newInstance() call that simply loaded
the current JAXP parser.
Remove the SecurityAssociation.setServer() call and move it to the
JaasSecurityManagerService.
Revision Changes Path
1.35 +1 -10 jboss/src/main/org/jboss/Main.java
Index: Main.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/Main.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- Main.java 2001/05/25 01:41:34 1.34
+++ Main.java 2001/06/15 08:30:10 1.35
@@ -22,17 +22,13 @@
import javax.management.*;
import javax.management.loading.*;
-import javax.xml.parsers.DocumentBuilderFactory;
-
-import org.jboss.security.SecurityAssociation;
-
/**
*
* @see <related>
* @author Rickard �berg ([EMAIL PROTECTED])
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel O'Connor</a>.
* @author [EMAIL PROTECTED]
- * @version $Revision: 1.34 $
+ * @version $Revision: 1.35 $
*/
public class Main
{
@@ -111,9 +107,6 @@
if (System.getProperty("java.security.manager") != null)
System.setSecurityManager((SecurityManager)Class.forName(System.getProperty("java.security.manager")).newInstance());
- // use thread-local principal and credential propagation
- SecurityAssociation.setServer();
-
// Start server - Main does not have the proper permissions
AccessController.doPrivileged(new PrivilegedAction()
{
@@ -203,8 +196,6 @@
else if (obj instanceof Throwable)
((Throwable)obj).printStackTrace(err);
}
-
- DocumentBuilderFactory.newInstance();
// Load configuration
server.invoke(new ObjectName(":service=Configuration"),
"loadConfiguration", new Object[0], new String[0]);
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development