You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-dev@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2006/02/25 16:56:36 UTC

[jira] Created: (SUREFIRE-34) Using security manager in a fork mode causes an AccessControlException

Using security manager in a fork mode causes an AccessControlException
----------------------------------------------------------------------

         Key: SUREFIRE-34
         URL: http://jira.codehaus.org/browse/SUREFIRE-34
     Project: surefire
        Type: Bug

    Versions: 1.5.3    
    Reporter: Vincent Siveton
 Assigned to: Jason van Zyl 
    Priority: Critical


Using securityManager in a forkmode causes java.security.AccessControlException in the createClassLoader() method
Same things with setSystemProperties() 

Example:
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <configuration>
     <forkMode>pertest</forkMode>
     <argLine>-Djava.security.manager</argLine>
  </configuration>
</plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (SUREFIRE-34) Using security manager in a fork mode causes an AccessControlException

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-34?page=all ]

Vincent Siveton updated SUREFIRE-34:
------------------------------------

    Attachment: SUREFIRE-34.diff

> Using security manager in a fork mode causes an AccessControlException
> ----------------------------------------------------------------------
>
>          Key: SUREFIRE-34
>          URL: http://jira.codehaus.org/browse/SUREFIRE-34
>      Project: surefire
>         Type: Bug

>     Versions: 1.5.3
>     Reporter: Vincent Siveton
>     Assignee: Jason van Zyl
>     Priority: Critical
>  Attachments: SUREFIRE-34.diff
>
>
> Using securityManager in a forkmode causes java.security.AccessControlException in the createClassLoader() method
> Same things with setSystemProperties() 
> Example:
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-surefire-plugin</artifactId>
>   <configuration>
>      <forkMode>pertest</forkMode>
>      <argLine>-Djava.security.manager</argLine>
>   </configuration>
> </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira