Package jakarta.resource.spi
Annotation Interface SecurityPermission
The SecurityPermission annotation can be used by the developer, as part of
the Connector annotation, to specify the extended security permissions
required by the resource adapter
- Since:
- 1.6
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
Specifies an optional description to mention any specific reason that a resource requires a given security permission.Specifies a security permission based on the Security policy file syntax.
-
Element Details
-
description
String[] descriptionSpecifies an optional description to mention any specific reason that a resource requires a given security permission.- Returns:
- description
- Default:
- {}
-
permissionSpec
String permissionSpecSpecifies a security permission based on the Security policy file syntax. These security permissions are different from those required by the default permission set as specified in the connector specification.- Returns:
- permissionSpec
- Default:
- ""
-