src/share/jaxws_classes/javax/xml/bind/JAXBPermission.java

changeset 368
0989ad8c0860
parent 286
f50545b5e2f1
child 397
b99d7e355d4b
equal deleted inserted replaced
366:8c0b6bccfe47 368:0989ad8c0860
23 * questions. 23 * questions.
24 */ 24 */
25 25
26 package javax.xml.bind; 26 package javax.xml.bind;
27 27
28 import java.awt.*;
29 import java.security.BasicPermission; 28 import java.security.BasicPermission;
30 29
31 /** 30 /**
32 * This class is for JAXB permissions. A {@code JAXBPermission} 31 * This class is for JAXB permissions. A {@code JAXBPermission}
33 * contains a name (also referred to as a "target name") but 32 * contains a name (also referred to as a "target name") but
59 * </td> 58 * </td>
60 * <td> 59 * <td>
61 * Malicious code can set {@link DatatypeConverterInterface}, which has 60 * Malicious code can set {@link DatatypeConverterInterface}, which has
62 * VM-wide singleton semantics, before a genuine JAXB implementation sets one. 61 * VM-wide singleton semantics, before a genuine JAXB implementation sets one.
63 * This allows malicious code to gain access to objects that it may otherwise 62 * This allows malicious code to gain access to objects that it may otherwise
64 * not have access to, such as {@link Frame#getFrames()} that belongs to 63 * not have access to, such as {@link java.awt.Frame#getFrames()} that belongs to
65 * another application running in the same JVM. 64 * another application running in the same JVM.
66 * </td> 65 * </td>
67 * </tr> 66 * </tr>
68 * </table> 67 * </table>
69 * 68 *

mercurial