Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

JBIDE-14843 - arquillian validator security concerns #6

Closed
wants to merge 1 commit into from

Conversation

snjeza
Copy link
Member

@snjeza snjeza commented Jun 12, 2013

https://issues.jboss.org/browse/JBIDE-14843
arquillian validator security concerns

* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this from originally ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is originally from org.eclipse.ant.internal.core.AntSecurityManager
I have updated the PR.

} catch (ArquillianSecurityException e) {
ArquillianCoreActivator.log(e);
} finally {
System.setSecurityManager(orig);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is dangerous if for example the AntRunner was run - since they have a securitymanager too.....not sure how to avoid this though.

@maxandersen
Copy link
Member

i've applied this since it is better than what we got before which was unprotected,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants