Class SecurityActions


  • final class SecurityActions
    extends java.lang.Object
    Privileged actions for the package Do not move. Do not change class and method visibility to avoid being called from other CodeSources, thus granting privilege escalation to external code.
    Since:
    4.2
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static interface  SecurityActions.SysProps  
    • Constructor Summary

      Constructors 
      Constructor Description
      SecurityActions()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getEnv​(java.lang.String name)  
      static java.lang.String getProperty​(java.lang.String name)  
      static java.lang.String getProperty​(java.lang.String name, java.lang.String defaultValue)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecurityActions

        SecurityActions()
    • Method Detail

      • getProperty

        public static java.lang.String getProperty​(java.lang.String name,
                                                   java.lang.String defaultValue)
      • getProperty

        public static java.lang.String getProperty​(java.lang.String name)
      • getEnv

        public static java.lang.String getEnv​(java.lang.String name)