(package private) PeerIdentity |
PeerIdentityContext.getAndSetPeerIdentity(PeerIdentity newIdentity) |
|
boolean |
PeerIdentity.isSamePeerIdentityContext(PeerIdentity other) |
Determine if the peer identity context of this identity is the same as that of the given identity.
|
boolean |
PeerIdentityContext.owns(PeerIdentity identity) |
Determine whether this context owns the given identity.
|
static void |
PeerIdentity.runAsAll(Runnable runnable,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <T> T |
PeerIdentity.runAsAll(PrivilegedAction<T> privilegedAction,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <T> T |
PeerIdentity.runAsAll(PrivilegedExceptionAction<T> privilegedAction,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <T> T |
PeerIdentity.runAsAll(Callable<T> callable,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <T,P> T |
PeerIdentity.runAsAll(P parameter,
ParametricPrivilegedAction<T,P> privilegedAction,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <T,P> T |
PeerIdentity.runAsAll(P parameter,
ParametricPrivilegedExceptionAction<T,P> privilegedAction,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <T> void |
PeerIdentity.runAsAllConsumer(T parameter,
Consumer<T> privilegedAction,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <T,U> void |
PeerIdentity.runAsAllConsumer(T parameter1,
U parameter2,
BiConsumer<T,U> privilegedAction,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <R,T> R |
PeerIdentity.runAsAllFunction(T parameter,
Function<T,R> privilegedAction,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <T,U,R> R |
PeerIdentity.runAsAllFunction(T parameter1,
U parameter2,
BiFunction<T,U,R> privilegedAction,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <T> void |
PeerIdentity.runAsAllObjIntConsumer(T parameter1,
int parameter2,
ObjIntConsumer<T> privilegedAction,
PeerIdentity... identities) |
Run an action under a series of identities.
|
static <T> T |
PeerIdentity.runAsAllSupplier(Supplier<T> action,
PeerIdentity... identities) |
Run an action under a series of identities.
|
(package private) void |
PeerIdentityContext.setPeerIdentity(PeerIdentity newIdentity) |
|