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:
java.io.Serializable, java.security.Guard

public final class WebServicePermission
extends java.security.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 Also:
Endpoint, BasicPermission, Permission, Permissions, SecurityManager, Serialized Form

Constructor Summary
WebServicePermission(java.lang.String name)
          Creates a new permission with the specified name.
WebServicePermission(java.lang.String name, java.lang.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

WebServicePermission

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

Parameters:
name - the name of the WebServicePermission

WebServicePermission

public WebServicePermission(java.lang.String name,
                            java.lang.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 © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.