<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ok. We may want to define our own security manager in the future that
integrates with the vfs to allow for better isolation of details like
how security policy codebases relate to the runtime environment.<br>
<br>
Kabir Khan wrote:
<blockquote cite="mid00b401c6f2e0$dfe6d180$0300a8c0@KabirDell"
 type="cite">
  <pre wrap="">OK, I'm able to debug now after setting up the same classpath for the debug
configuration as for the commandline.

Thanks

  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:jboss-development-bounces@lists.jboss.org">jboss-development-bounces@lists.jboss.org</a> 
[<a class="moz-txt-link-freetext" href="mailto:jboss-development-bounces@lists.jboss.org">mailto:jboss-development-bounces@lists.jboss.org</a>] On Behalf 
Of Kabir Khan
Sent: 18 October 2006 18:59
To: 'JBoss.org development list'
Subject: RE: [jboss-dev] Java security in Eclipse

I have added security to the microcontainer/aop-mc-int tests. 
These tests can be run as:

Kabir@KabirDell ~/sourcecontrol/microcontainer/aop-mc-int
$ build.sh -f build-test.xml one-test-no-weave-secure 
-Dtest=org.jboss.test.microcontainer.test.JMXDecoratedTestCase

Kabir@KabirDell ~/sourcecontrol/microcontainer/aop-mc-int
$ build.sh -f build-test.xml one-test-secure 
-Dtest=org.jboss.test.microcontainer.test.JMXDecoratedTestCase


To run the no-weave on in Eclipse one just run the test as a 
junit test. I'm fiddling with using a properties file for the 
TestsPolicyPlugin to set the correct MBeanPermissions

    </pre>
    <blockquote type="cite">
      <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:jboss-development-bounces@lists.jboss.org">jboss-development-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:jboss-development-bounces@lists.jboss.org">mailto:jboss-development-bounces@lists.jboss.org</a>] On 
      </pre>
    </blockquote>
    <pre wrap="">Behalf Of Scott 
    </pre>
    <blockquote type="cite">
      <pre wrap="">M Stark
Sent: 18 October 2006 18:32
To: JBoss.org development list
Subject: Re: [jboss-dev] Java security in Eclipse

If you see inconsistent behavior its due to different 
classpaths/codesources not matching the security policy. 
      </pre>
    </blockquote>
    <pre wrap="">I'm ignoring 
    </pre>
    <blockquote type="cite">
      <pre wrap="">the obvious solution of not running with a security manager.

What is an example test where you see this?

Kabir Khan wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">By "crash" I mean throw a SecurityException

  
        </pre>
        <blockquote type="cite">
          <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:jboss-development-bounces@lists.jboss.org">jboss-development-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:jboss-development-bounces@lists.jboss.org">mailto:jboss-development-bounces@lists.jboss.org</a>] On
          </pre>
        </blockquote>
      </blockquote>
      <pre wrap="">Behalf Of Kabir
      </pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">Khan
Sent: 18 October 2006 16:47
To: 'JBoss.org development list'
Subject: [jboss-dev] Java security in Eclipse

When running tests in Eclipse with a security manager enabled it 
allows access to methods that crash when running them from the 
command-line. Does anybody know how to turn off this behaviour?

Thanks,

Kabir

_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>

    
          </pre>
        </blockquote>
      </blockquote>
      <pre wrap="">_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>

      </pre>
    </blockquote>
    <pre wrap="">_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
jboss-development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-development@lists.jboss.org">jboss-development@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-development">https://lists.jboss.org/mailman/listinfo/jboss-development</a>
  </pre>
</blockquote>
<br>
</body>
</html>