|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.ws Class WebServicePermission
java.lang.Object java.security.Permission java.security.BasicPermission javax.xml.ws.WebServicePermission
- All Implemented Interfaces:
- Serializable, Guard
public final class WebServicePermission
- extends BasicPermission
此类定义 Web 服务权限。
Web 服务权限由名称(也称为“目标名称”)单独标识。没有与它们关联的操作。
定义以下权限目标名称:
- publishEndpoint
publishEndpoint
权限允许使用 javax.xml.ws.Endpoint
类定义的 publish
方法发布 Web 服务端点。
See also | javax.xml.ws.Endpoint, java.security.BasicPermission, java.security.Permission, java.security.Permissions, java.lang.SecurityManager |
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 | |
---|---|
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. |
Method Summary |
---|
Methods inherited from class java.security.BasicPermission |
---|
equals, getActions, hashCode, implies, newPermissionCollection |
Methods inherited from class java.security.Permission |
---|
checkGuard, getName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 theWebServicePermission
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 benull
.- Parameters:
name
- the name of theWebServicePermission
actions
- should benull
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!