public final class SecureMethodInvoker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SecureMethodInvoker.SecureMethodInvocationException |
Modifier and Type | Method and Description |
---|---|
static void |
endPerThreadSecurity() |
static <T> T |
invoke(Supplier<T> hostileCode) |
static void |
startPerThreadSecurity(Map<Thread,ThreadPermissionVerifier> specializedVerifiers,
ThreadPermissionVerifier defaultPermissionVerifier) |
public static void startPerThreadSecurity(Map<Thread,ThreadPermissionVerifier> specializedVerifiers, ThreadPermissionVerifier defaultPermissionVerifier)
public static void endPerThreadSecurity()
public static <T> T invoke(Supplier<T> hostileCode)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.