Spec-Zone .ru
спецификации, руководства, описания, API


javax.annotation.security
Annotation Type PermitAll


@Documented
@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface PermitAll

Specifies that all security roles are allowed to invoke the specified method(s) i.e that the specified method(s) are "unchecked". It can be specified on a class or on methods. Specifying it on the class means that it applies to all methods of the class. If specified at the method level, it only affects that method. If the RolesAllowed is specified at the class level and this annotation is applied at the method level, the PermitAll annotation overrides the RolesAllowed for the specified method.

Since:
Common Annotations 1.0
See Also:
RolesAllowed, DenyAll



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

free hit counter