public final class JAXBPermission extends BasicPermission
JAXBPermission
包含一个名称(也称为“目标名称”),但没有操作列表;
你有指定的权限,或者你没有。
目标名称是JAXB权限的名称(见下文)。
下表列出了所有可能的JAXBPermission
目标名称,每个都提供了许可允许的描述以及授权许可的风险的讨论。
DatatypeConverterInterface
via the setDatatypeConverter method
that all the methods on DatatypeConverter
uses. Malicious code can set DatatypeConverterInterface
, which has VM-wide singleton semantics, before a genuine JAXB implementation sets one. This allows malicious code to gain access to objects that it may otherwise not have access to, such as Frame.getFrames()
that belongs to another application running in the same JVM.
BasicPermission
, Permission
, Permissions
, PermissionCollection
, SecurityManager
, Serialized Form
Constructor and Description |
---|
JAXBPermission(String name)
创建具有指定名称的新JAXBPermission。
|
equals, getActions, hashCode, implies, newPermissionCollection
checkGuard, getName, toString
public JAXBPermission(String name)
name
- The name of the JAXBPermission. As of 2.2 only "setDatatypeConverter" is defined.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.