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:
The publishEndpoint
permission allows publishing a web service endpoint using the publish
methods defined by the javax.xml.ws.Endpoint
class.
Granting 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.
Endpoint
, BasicPermission
, Permission
, Permissions
, SecurityManager
, SocketPermission
, Serialized Formpublic WebServicePermission(String name)
Creates a new permission with the specified name.
name
- the name of the WebServicePermission
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
.
name
- the name of the WebServicePermission
actions
- should be null
equals, getActions, hashCode, implies, newPermissionCollection
checkGuard, getName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.