*** This class provides Binary Compatibility only, not Source Compatibility ***

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
destroydestroys the service

Since:
9.2.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the permission required to destroy a service.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServicePermission(String targetName)
    Creates a new ServicePermission with the specified name.
  • 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
  • Field Details

    • PERMISSION_DESTROY

      public static final String PERMISSION_DESTROY
      Name 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".