FileDocCategorySizeDatePackage
WebServicePermission.javaAPI DocJava SE 6 API1669Tue Jun 10 00:27:16 BST 2008javax.xml.ws

WebServicePermission

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.

see
javax.xml.ws.Endpoint
see
java.security.BasicPermission
see
java.security.Permission
see
java.security.Permissions
see
java.lang.SecurityManager

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public WebServicePermission(String name)
Creates a new permission with the specified name.

param
name the name of the WebServicePermission


                        
       
        super(name);
    
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.

param
name the name of the WebServicePermission
param
actions should be null

        super(name, actions);
    
Methods Summary