# Package javax.annotation.security

This package contains the security common annotations.

See: Description

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  DeclareRoles | Used by application to declare roles.
  DenyAll | Specifies that no security roles are allowed to invoke the specified method(s) - i.e that the methods are to be excluded from execution in the J2EE container.
  PermitAll | Specifies that all security roles are allowed to invoke the specified method(s) i.e that the specified method(s) are "unchecked".
  RolesAllowed | Specifies the list of roles permitted to access method(s) in an application.
  RunAs | Defines the identity of the application during execution in a J2EE container.

## Package javax.annotation.security Description

This package contains the security common annotations.

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