< prev index next >

jdk/src/java.base/share/classes/java/lang/RuntimePermission.java

Print this page




 281  * it can't cast the object to the class/interface with those methods
 282  * and fields.
 283 </td>
 284  * </tr>
 285  * <tr>
 286  *   <td>queuePrintJob</td>
 287  *   <td>Initiation of a print job request</td>
 288  *   <td>This could print sensitive information to a printer,
 289  * or simply waste paper.</td>
 290  * </tr>
 291  *
 292  * <tr>
 293  *   <td>getStackTrace</td>
 294  *   <td>Retrieval of the stack trace information of another thread.</td>
 295  *   <td>This allows retrieval of the stack trace information of
 296  * another thread.  This might allow malicious code to monitor the
 297  * execution of threads and discover vulnerabilities in applications.</td>
 298  * </tr>
 299  *
 300  * <tr>








 301  *   <td>setDefaultUncaughtExceptionHandler</td>
 302  *   <td>Setting the default handler to be used when a thread
 303  *   terminates abruptly due to an uncaught exception</td>
 304  *   <td>This allows an attacker to register a malicious
 305  *   uncaught exception handler that could interfere with termination
 306  *   of a thread</td>
 307  * </tr>
 308  *
 309  * <tr>
 310  *   <td>preferences</td>
 311  *   <td>Represents the permission required to get access to the
 312  *   java.util.prefs.Preferences implementations user or system root
 313  *   which in turn allows retrieval or update operations within the
 314  *   Preferences persistent backing store.) </td>
 315  *   <td>This permission allows the user to read from or write to the
 316  *   preferences backing store if the user running the code has
 317  *   sufficient OS privileges to read/write to that backing store.
 318  *   The actual backing store may reside within a traditional filesystem
 319  *   directory or within a registry depending on the platform OS</td>
 320  * </tr>




 281  * it can't cast the object to the class/interface with those methods
 282  * and fields.
 283 </td>
 284  * </tr>
 285  * <tr>
 286  *   <td>queuePrintJob</td>
 287  *   <td>Initiation of a print job request</td>
 288  *   <td>This could print sensitive information to a printer,
 289  * or simply waste paper.</td>
 290  * </tr>
 291  *
 292  * <tr>
 293  *   <td>getStackTrace</td>
 294  *   <td>Retrieval of the stack trace information of another thread.</td>
 295  *   <td>This allows retrieval of the stack trace information of
 296  * another thread.  This might allow malicious code to monitor the
 297  * execution of threads and discover vulnerabilities in applications.</td>
 298  * </tr>
 299  *
 300  * <tr>
 301  *   <td>getStackWalkerWithClassReference</td>
 302  *   <td>Get a stack walker that can retrieve stack frames with class reference.</td>
 303  *   <td>This allows retrieval of Class objects from stack walking.
 304  *   This might allow malicious code to access Class objects on the stack
 305  *   outside its own context.</td>
 306  * </tr>
 307  *
 308  * <tr>
 309  *   <td>setDefaultUncaughtExceptionHandler</td>
 310  *   <td>Setting the default handler to be used when a thread
 311  *   terminates abruptly due to an uncaught exception</td>
 312  *   <td>This allows an attacker to register a malicious
 313  *   uncaught exception handler that could interfere with termination
 314  *   of a thread</td>
 315  * </tr>
 316  *
 317  * <tr>
 318  *   <td>preferences</td>
 319  *   <td>Represents the permission required to get access to the
 320  *   java.util.prefs.Preferences implementations user or system root
 321  *   which in turn allows retrieval or update operations within the
 322  *   Preferences persistent backing store.) </td>
 323  *   <td>This permission allows the user to read from or write to the
 324  *   preferences backing store if the user running the code has
 325  *   sufficient OS privileges to read/write to that backing store.
 326  *   The actual backing store may reside within a traditional filesystem
 327  *   directory or within a registry depending on the platform OS</td>
 328  * </tr>


< prev index next >