Class ReadEnvironmentPropertyAction
- java.lang.Object
 - 
- org.wildfly.security.manager.action.ReadEnvironmentPropertyAction
 
 
- 
- All Implemented Interfaces:
 PrivilegedAction<String>
public final class ReadEnvironmentPropertyAction extends Object implements PrivilegedAction<String>
A security action which reads an environment property.- Author:
 - David M. Lloyd
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ReadEnvironmentPropertyAction(String propertyName)Construct a new instance.ReadEnvironmentPropertyAction(String propertyName, String defaultValue)Construct a new instance. 
 - 
 
- 
- 
Constructor Detail
- 
ReadEnvironmentPropertyAction
public ReadEnvironmentPropertyAction(String propertyName)
Construct a new instance.- Parameters:
 propertyName- the environment property to read
 
 - 
 
- 
Method Detail
- 
run
public String run()
- Specified by:
 runin interfacePrivilegedAction<String>
 
 - 
 
 -