Class AccessControlContextHackcessor
java.lang.Object
com.atlassian.bamboo.specs.maven.sandbox.AccessControlContextHackcessor
This class exists to provide access to
AccessControlContext.getContext()
method, which is package protected.-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<ProtectionDomain>
getContext
(Class<?> pdToExclude) Returns the list of protection domains of the code available on stack.
-
Method Details
-
getContext
Returns the list of protection domains of the code available on stack. It will exclude the protection domain of the supplied class. If the returned list is empty, the stack contained only system/privileged code.
-