WebServicePermission (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.ws Class WebServicePermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by javax.xml.ws.WebServicePermission
所有已实现的接口:
Serializable, Guard

public final class WebServicePermission
extends BasicPermission

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.

另请参见:
Endpoint, BasicPermission, Permission, Permissions, SecurityManager, Serialized Form

构造器摘要
WebServicePermission(String name)
          Creates a new permission with the specified name.
WebServicePermission(String name, String actions)
          Creates a new permission with the specified name and actions.
 
方法摘要
 
类方法继承 java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
 
类方法继承 java.security.Permission
checkGuard, getName, toString
 
类方法继承 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

构造器详细信息

WebServicePermission

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

参数:
name - the name of the WebServicePermission


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.

参数:
name - the name of the WebServicePermission
actions - should be null


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.