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:
publishEndpointpermission allows publishing a web service endpoint using the
publishmethods 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.
Creates a new permission with the specified name.
Creates a new permission with the specified name and actions.
equals, getActions, hashCode, implies, newPermissionCollection
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public WebServicePermission(String name)
name- the name of the
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.