public static String getProperty ( String key ) { SecurityManager sm = System . getSecurityManager ( ) ; if ( sm != null ) { sm . checkPermission ( new SecurityPermission ( "getProperty." + key ) ) ; } String name = props . getProperty ( key ) ; if ( name != null ) name = name . trim ( ) ; // could be a class name with trailing ws return name ; }
Gets a security property value .