| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.Permission
java.security.BasicPermission
javax.xml.ws.WebServicePermission
public final class WebServicePermission
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.
Endpoint, 
BasicPermission, 
Permission, 
Permissions, 
SecurityManager, 
Serialized Form| Constructor Summary | |
|---|---|
| WebServicePermission(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, newPermissionCollection | 
| Methods inherited from class java.security.Permission | 
|---|
| checkGuard, getName, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public WebServicePermission(String name)
name - the name of the WebServicePermission
public WebServicePermission(String name,
                            String actions)
actions parameter is currently unused and
 it should be null.
name - the name of the WebServicePermissionactions - should be null| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.