public final class WebServicePermission extends BasicPermission
网络服务权限是由名称(也被称为“目标名称”)确定的。有没有与他们相关的行动。
定义下列权限目标名称:
的publishEndpoint
权限允许发布Web服务端点使用由javax.xml.ws.Endpoint
类定义的publish
方法。
授予publishEndpoint
允许应用程序暴露作为网络服务。根据运行时的安全和应用的安全性,这可能会引入一个是远程利用的安全漏洞。
Constructor and Description |
---|
WebServicePermission(String name)
用指定的名称创建新的权限。
|
WebServicePermission(String name, String actions)
用指定的名称和动作创建一个新的权限。
|
equals, getActions, hashCode, implies, newPermissionCollection
checkGuard, getName, toString
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.