Class GetProtectionDomainAction
- java.lang.Object
-
- org.wildfly.security.manager.action.GetProtectionDomainAction
-
- All Implemented Interfaces:
PrivilegedAction<ProtectionDomain>
public final class GetProtectionDomainAction extends Object implements PrivilegedAction<ProtectionDomain>
A security action to get the protection domain of a class.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description GetProtectionDomainAction(Class<?> clazz)
Construct a new instance.
-
-
-
Field Detail
-
clazz
private final Class<?> clazz
-
-
Constructor Detail
-
GetProtectionDomainAction
public GetProtectionDomainAction(Class<?> clazz)
Construct a new instance.- Parameters:
clazz
- the class whose protection domain is to be probed
-
-
Method Detail
-
run
public ProtectionDomain run()
- Specified by:
run
in interfacePrivilegedAction<ProtectionDomain>
-
-