JavaScript is disabled on your browser.
Skip navigation links
Java™ Platform
Standard Ed. 8
  • Detail:
  • Field |
  • Constr |
  • Method
javax.xml.ws

Class WebServicePermission

  • All Implemented Interfaces:
    Serializable, Guard


    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:

    publishEndpoint

    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.

    See Also:
    Endpoint, BasicPermission, Permission, Permissions, SecurityManager, SocketPermission, Serialized Form
    • Constructor Detail

      • WebServicePermission

        public WebServicePermission(String name)
        Creates a new permission with the specified name.
        Parameters:
        name - the name of the WebServicePermission
      • 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.
        Parameters:
        name - the name of the WebServicePermission
        actions - should be null
Skip navigation links
Java™ Platform
Standard Ed. 8
  • Detail:
  • Field |
  • Constr |
  • Method

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, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.

AltStyle によって変換されたページ (->オリジナル) /