public final class WebServicePermission extends 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:
publishEndpoint permission allows publishing a
web service endpoint using the
defined by the
publishEndpoint allows the application to be
exposed as a network service. Depending on the security of the runtime and
the security of the application, this may introduce a security hole that
is remotely exploitable.
|Constructor and Description|
Creates a new permission with the specified name.
Creates a new permission with the specified name and actions.
equals, getActions, hashCode, implies, newPermissionCollection
public WebServicePermission(String name)
name- the name of the
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.