Package edu.uiuc.ncsa.security.util
Class DevUtils
- java.lang.Object
- 
- edu.uiuc.ncsa.security.util.DevUtils
 
- 
 public class DevUtils extends Object Deprecated.UseXXPropertiesinstead.Tools for development, such as centralizing certain things for testing.Created by Jeff Gaynor 
 on 8/18/23 at 9:19 AM
- 
- 
Constructor SummaryConstructors Constructor Description DevUtils()Deprecated.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Map<String,String>getAllProperties()Deprecated.AMapof all the OS and java properties for use resolving configuration testing files.static XPropertiesgetTestProperties(String filename)Deprecated.Test properties.static voidmain(String[] args)Deprecated.
 
- 
- 
- 
Method Detail- 
getTestPropertiespublic static XProperties getTestProperties(String filename) throws IOException Deprecated.Test properties. These are in the local resources directory and will have substitutions carried out for OS environment variables and Java system properties. So a typical entry might besec-lib.jwt.keys=${NCSA_CONFIG_ROOT}/sas/keys.jwkIf the value of NCSA_CONFIG_ROOT was set in the current (operating system) environment then it will be resolved and used.- Parameters:
- filename-
- Returns:
- Throws:
- IOException
 
 - 
getAllPropertiespublic static Map<String,String> getAllProperties() Deprecated.AMapof all the OS and java properties for use resolving configuration testing files. Java properties override OS properties. Typically given to the JVM at startup with a -D prefix, so to set the property named my.prop at startup for the application MyApp you'd writejava -Dmy.prop="my-value" MyApp- Returns:
 
 - 
mainpublic static void main(String[] args) Deprecated.
 
- 
 
-