Class ClearPropertyAction
- java.lang.Object
-
- org.wildfly.security.manager.action.ClearPropertyAction
-
- All Implemented Interfaces:
PrivilegedAction<String>
public final class ClearPropertyAction extends Object implements PrivilegedAction<String>
A security action which clears a system property.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private String
propertyName
-
Constructor Summary
Constructors Constructor Description ClearPropertyAction(String propertyName)
Construct a new instance.
-
-
-
Field Detail
-
propertyName
private final String propertyName
-
-
Constructor Detail
-
ClearPropertyAction
public ClearPropertyAction(String propertyName)
Construct a new instance.- Parameters:
propertyName
- the name of the property to clear
-
-
Method Detail
-
run
public String run()
- Specified by:
run
in interfacePrivilegedAction<String>
-
-