*** This class provides Binary Compatibility only, not Source Compatibility ***
Package com.sas.services
Class ServicePermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
com.sas.services.ServicePermission
- All Implemented Interfaces:
Serializable,Guard
@SASScope("ALL")
@BinaryCompatibilityOnly
public final class ServicePermission
extends BasicPermission
A permission to act upon a SAS foundation service.
A permission is constructed with a target name
of a secured permission.
The following table lists supported
target names and a brief description of each.
| Permission Target Name | What the Permission Allows |
|---|---|
| destroy | destroys the service |
- Since:
- 9.2.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the permission required to destroy a service. -
Constructor Summary
ConstructorsConstructorDescriptionServicePermission(String targetName) Creates a new ServicePermission with the specified name. -
Method Summary
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollectionMethods inherited from class java.security.Permission
checkGuard, getName, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
PERMISSION_DESTROY
public static final String PERMISSION_DESTROYName of the permission required to destroy a service.- See Also:
-
-
Constructor Details
-
ServicePermission
public ServicePermission(String targetName) Creates a new ServicePermission with the specified name. The name is the symbolic name of the ServicePermission, such as "destroy", etc.- Parameters:
targetName- the name of the ServicePermission such as "destroy".
-