Package jakarta.xml.ws
Class WebServicePermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
jakarta.xml.ws.WebServicePermission
- All Implemented Interfaces:
 Serializable,Guard
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
 
publishEndpoint permission allows publishing a
 web service endpoint using the publish methods
 defined by the jakarta.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.
- Since:
 - 1.6
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionWebServicePermission(String name) Creates a new permission with the specified name.WebServicePermission(String name, 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, newPermissionCollectionMethods inherited from class java.security.Permission
checkGuard, getName, toString 
- 
Constructor Details
- 
WebServicePermission
Creates a new permission with the specified name.- Parameters:
 name- the name of theWebServicePermission
 - 
WebServicePermission
Creates a new permission with the specified name and actions. Theactionsparameter is currently unused and it should benull.- Parameters:
 name- the name of theWebServicePermissionactions- should benull
 
 -