public final class WebServicePermission
extends java.security.BasicPermission
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:
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 FormConstructor and Description |
---|
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.
|
public WebServicePermission(java.lang.String name)
name
- the name of the WebServicePermission
public WebServicePermission(java.lang.String name, java.lang.String actions)
actions
parameter is currently unused and
it should be null
.name
- the name of the WebServicePermission
actions
- should be null