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
 java.lang.String[] description
          Specifies an optional description to mention any specific reason that a resource requires a given security permission.
 java.lang.String permissionSpec
          Specifies a security permission based on the Security policy file syntax.
 

description

public abstract java.lang.String[] description
Specifies an optional description to mention any specific reason that a resource requires a given security permission.

Default:
{}

permissionSpec

public abstract java.lang.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:
""


Submit a bug or feature

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

Generated on 10-February-2011 12:41