Searched refs:PrivilegedExceptionAction (Results 1 – 8 of 8) sorted by relevance
26 import java.security.PrivilegedExceptionAction;83 PrivilegedExceptionAction<Object> pea = new myPrivilegedExceptionAction(); in test_doAs_02()84 PrivilegedExceptionAction<Object> peaNull = null; in test_doAs_02()107 Subject.doAs(subj, new PrivilegedExceptionAction<Object>(){ in test_doAs_02()154 PrivilegedExceptionAction<Object> pea = new myPrivilegedExceptionAction(); in test_doAsPrivileged_02()155 PrivilegedExceptionAction<Object> peaNull = null; in test_doAsPrivileged_02()179 Subject.doAsPrivileged(subj, new PrivilegedExceptionAction<Object>(){ in test_doAsPrivileged_02()252 class myPrivilegedExceptionAction implements PrivilegedExceptionAction <Object> {
58 …public static <T> T doPrivileged(PrivilegedExceptionAction<T> action) throws PrivilegedActionExcep… in doPrivileged()71 …public static <T> T doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context… in doPrivileged()85 …public static <T> T doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action) throws Privilege… in doPrivilegedWithCombiner()
23 public interface PrivilegedExceptionAction<T> { interface
13 import java.security.PrivilegedExceptionAction;384 public static Callable<Object> callable(final PrivilegedExceptionAction<?> action) {442 new PrivilegedExceptionAction<T>() {484 new PrivilegedExceptionAction<T>() {
31 import java.security.PrivilegedExceptionAction;214 public static <T> T doAs(Subject subject, PrivilegedExceptionAction<T> action) in doAs()238 PrivilegedExceptionAction<T> action, AccessControlContext context) in doAsPrivileged()250 PrivilegedExceptionAction<T> action, final AccessControlContext context) in doAs_PrivilegedExceptionAction()
540 Callable c = Executors.callable(new PrivilegedExceptionAction() { in testCallable4()580 Callable c = Executors.callable((PrivilegedExceptionAction) null); in testCallableNPE4()
115 Future future = e.submit(Executors.callable(new PrivilegedExceptionAction() { in testSubmitPrivilegedExceptionAction()133 Future future = e.submit(Executors.callable(new PrivilegedExceptionAction() { in testSubmitFailedPrivilegedExceptionAction()
34 import java.security.PrivilegedExceptionAction;502 Executors.callable(new PrivilegedExceptionAction() { in testSubmitPrivilegedExceptionAction()523 Executors.callable(new PrivilegedExceptionAction() { in testSubmitFailedPrivilegedExceptionAction()