The Jt framework also uses declarative security which avoids the need for error-prone security coding.
Jt框架还使用声明安全性来避免编写易出错的安全代码。
Perhaps the most common complaint about the J2EE-defined declarative security model is that it is not sufficiently granular.
也许关于 J2EE 定义的声明性安全模型的最常见的抱怨是它没有提供足够的粒度。
To use the declarative security approach, you must specify all possible security roles in the web.xml deployment descriptor.
要使用声明性安全方法,必须在web . xml部署描述符中指定所有可能的安全角色。
Note that the JEE security model supports declarative security authorization as well as programmatic security for both Web containers and EJB containers.
注意,JEE安全模型对web容器和ejb容器支持声明式安全授权以及编程安全性。
You create a simple login system where users can visit and log in using form-based authentication and J2EE declarative security using Geronimo's SQLLoginModule.
将使用Geronimo的SQLLoginModule创建一个简单的登录系统,用户可以用基于表单的认证和J2EE声明式安全性访问和登录系统。
Using declarative security checks.
使用声明性安全检查。
This version USES declarative security.
此版本使用声明式安全性。
Use declarative security whenever possible.
应尽可能使用声明性安全。
Security attributes are used only for declarative security.
安全特性仅用于声明性安全。
Similarly, declarative security allows you to control inheritance of classes.
类似地,声明式安全使您可以控制类的继承。
However, if you place a declarative security check at the member level, it applies to only that member and overrides the permission specified at the class level, if one exists.
然而,如果您将一个宣告式安全性检查置于成员等级上,它只会套用至该成员,并覆写在类别等级上所指定的使用权限(如存在时)。
Declarative security syntax USES attributes to place security information into the metadata of your code.
声明式安全性语法使用特性来将安全信息放到代码的元数据中。
Declarative security offers two kinds of security checks that are similar but perform very different checks.
声明式安全提供了两种安全检查,它们很类似,但却执行完全不同的检查。
Declarative security offers two kinds of security checks that are similar but perform very different checks.
声明式安全提供了两种安全检查,它们很类似,但却执行完全不同的检查。
应用推荐