Lines Matching refs:context
154 * specific context.
160 * @param context
161 * the specific context in which the {@code action} is invoked.
168 AccessControlContext context) {
172 if (context == null) {
176 return doAs_PrivilegedAction(subject, action, context);
179 // instantiates a new context and passes it to AccessController
182 final AccessControlContext context) {
198 return new AccessControlContext(context, combiner);
231 * specific context.
237 * @param context
238 * the specific context in which the {@code action} is invoked.
247 PrivilegedExceptionAction action, AccessControlContext context)
252 if (context == null) {
256 return doAs_PrivilegedExceptionAction(subject, action, context);
259 // instantiates a new context and passes it to AccessController
262 PrivilegedExceptionAction action, final AccessControlContext context)
278 return new AccessControlContext(context, combiner);
479 * context} provided as argument.
481 * @param context
482 * the {@code context} that was associated with the
485 * context} provided as argument.
487 public static Subject getSubject(final AccessControlContext context) {
489 if (context == null) {
494 return context.getDomainCombiner();