< prev index next >

src/java.desktop/share/classes/java/awt/AWTPermission.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 42,58 **** * The following table lists all the possible {@code AWTPermission} * target names, and for each provides a description of what the * permission allows and a discussion of the risks of granting code * the permission. * ! * <table border=1 cellpadding=5 summary="AWTPermission target names, descriptions, and associated risks."> * <tr> * <th>Permission Target Name</th> * <th>What the Permission Allows</th> * <th>Risks of Allowing this Permission</th> * </tr> ! * * <tr> * <td>accessClipboard</td> * <td>Posting and retrieval of information to and from the AWT clipboard</td> * <td>This would allow malfeasant code to share * potentially sensitive or confidential information.</td> --- 42,62 ---- * The following table lists all the possible {@code AWTPermission} * target names, and for each provides a description of what the * permission allows and a discussion of the risks of granting code * the permission. * ! * <table class="striped"> ! * <caption>AWTPermission target names, descriptions, and associated risks ! * </caption> ! * <thead> * <tr> * <th>Permission Target Name</th> * <th>What the Permission Allows</th> * <th>Risks of Allowing this Permission</th> * </tr> ! * </thead> ! * <tbody> * <tr> * <td>accessClipboard</td> * <td>Posting and retrieval of information to and from the AWT clipboard</td> * <td>This would allow malfeasant code to share * potentially sensitive or confidential information.</td>
*** 180,189 **** --- 184,194 ---- * the mouse to the lower left corner of the screen most likely means that * the user is about to launch an application. If a virtual keypad is used * so that keyboard is emulated using the mouse, an applet may guess what * is being typed.</td> * </tr> + * </tbody> * </table> * * @see java.security.BasicPermission * @see java.security.Permission * @see java.security.Permissions
< prev index next >