javax.resource.spi

## Annotation Type SecurityPermission

-     @Documented
      @Retention(value=RUNTIME)
      @Target(value={})
      public @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
  Version:
    Java EE Connector Architecture 1.6

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String[]` | `description` Specifies an optional description to mention any specific reason that a resource requires a given security permission.
    `String` | `permissionSpec` Specifies a security permission based on the Security policy file syntax.

- - ### Element Detail

    - #### description

          public abstract String[] description

      Specifies an optional description to mention any specific reason that a resource requires a given security permission.
      Default:
        {}

    - #### permissionSpec

          public abstract String permissionSpec

      Specifies 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.
      Default:
        ""

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.