WebServicePermission (Java EE 5)

Java EE API


javax.xml.ws Class WebServicePermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by javax.xml.ws.WebServicePermission
All Implemented Interfaces:
Serializable, Guard

public final class WebServicePermission
extends BasicPermission

Extends: java.security.Permission > java.security.BasicPermission

此类定义 Web 服务权限。

Web 服务权限由名称(也称为“目标名称”)单独标识。没有与它们关联的操作。

定义以下权限目标名称:

publishEndpoint

publishEndpoint 权限允许使用 javax.xml.ws.Endpoint 类定义的 publish 方法发布 Web 服务端点。

英文文档:

This class defines web service permissions.

Web service Permissions are identified by name (also referred to as a "target name") alone. There are no actions associated with them.

The following permission target name is defined:

publishEndpoint

The publishEndpoint permission allows publishing a web service endpoint using the publish methods defined by the javax.xml.ws.Endpoint class.

See Also:
Endpoint, BasicPermission, Permission, Permissions, SecurityManager, Serialized Form

Constructor Summary
 
Method Summary
 
Methods inherited from class java.security.BasicPermission
 
Methods inherited from class java.security.Permission
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public WebServicePermission(String name)
创建具有指定名称的新权限。
name WebServicePermission 的名称
英文文档:

WebServicePermission

public WebServicePermission(String name)
Creates a new permission with the specified name.

Parameters:
name - the name of the WebServicePermission


public WebServicePermission(String name, String actions)
创建具有指定名称和操作的新权限。 当前不使用 actions 参数,它应该为 null
name WebServicePermission 的名称
actions 应该为 null
英文文档:

WebServicePermission

public WebServicePermission(String name,
                            String actions)
Creates a new permission with the specified name and actions. The actions parameter is currently unused and it should be null.

Parameters:
name - the name of the WebServicePermission
actions - should be null



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!