Lines Matching refs:context

58      * reference to the latest context passed to the doPrivileged() call.
91 * {@code ProtectionDomain}s of the given context are checked to be granted
100 * @param context
109 AccessControlContext context) {
113 return doPrivilegedImpl(action, context);
151 * {@code ProtectionDomain}s of the given context are checked to be granted
163 * @param context
174 AccessControlContext context) throws PrivilegedActionException {
178 return doPrivilegedImpl(action, context);
183 * context into this thread's contexts stack, and then invokes
184 * <code>action.run()</code>. The pushed context is then investigated in the
188 AccessControlContext context) throws PrivilegedActionException {
203 a.add(context);
233 * It pushes the passed context into this thread's stack of contexts and
235 * The pushed context is then investigated in the {@link #getContext()}
239 AccessControlContext context) {
262 a.add(context);
278 * The check is performed in the context of the current thread. This method
283 * the current execution context has been granted the specified permission.
284 * If privileged operations are on the execution context, only the {@code
290 * callers' context obtained by {@link #getContext()}.
322 * including the inherited access control context of the thread that spawned
325 * The returned context may be used to perform access checks at a later
351 // have inherited context here
355 // Use context passed to the doPrivileged()
361 if (that.context != null && that.context.length != 0) {
362 assigned = new ProtectionDomain[that.context.length];
363 System.arraycopy(that.context, 0, assigned, 0, assigned.length);