Class AccessControlContextHackcessor
- java.lang.Object
-
- com.atlassian.bamboo.specs.maven.sandbox.AccessControlContextHackcessor
-
public final class AccessControlContextHackcessor extends java.lang.ObjectThis class exists to provide access toAccessControlContext.getContext()method, which is package protected.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Collection<java.security.ProtectionDomain>getContext(java.lang.Class<?> pdToExclude)Returns the list of protection domains of the code available on stack.
-
-
-
Method Detail
-
getContext
public static java.util.Collection<java.security.ProtectionDomain> getContext(java.lang.Class<?> pdToExclude)
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.
-
-