Class GetAccessControlContextAction
- java.lang.Object
-
- org.wildfly.security.manager.action.GetAccessControlContextAction
-
- All Implemented Interfaces:
PrivilegedAction<AccessControlContext>
public final class GetAccessControlContextAction extends Object implements PrivilegedAction<AccessControlContext>
A privileged action to get the current access control context.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private static GetAccessControlContextAction
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
GetAccessControlContextAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetAccessControlContextAction
getInstance()
Get the singleton instance.AccessControlContext
run()
-
-
-
Field Detail
-
INSTANCE
private static final GetAccessControlContextAction INSTANCE
-
-
Method Detail
-
getInstance
public static GetAccessControlContextAction getInstance()
Get the singleton instance.- Returns:
- the singleton instance of this action
-
run
public AccessControlContext run()
- Specified by:
run
in interfacePrivilegedAction<AccessControlContext>
-
-