DenyAll (Java EE 5)

Java EE API


javax.annotation.security Annotation Type DenyAll


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface DenyAll

Implements: Annotation
@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)

规定不允许任何安全角色调用指定的方法,即这些方法将不会在 J2EE 容器中执行。
英文文档:

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.

Since:
1.0
See Also:
RolesAllowed, PermitAll



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!