Set up security and bind security roles.
设置安全和绑定安全角色。
Follow these steps to change the security roles.
按照如下步骤改变安全角色。
These decisions are made based on security roles.
要根据安全角色来作出此类决定。
Go to Step 8: Map security roles to users or groups.
转到Step8:Mapsecurity roles tousersor groups。
Go to Step 9: Map security roles to users or groups.
转到Step9:Mapsecurity roles tousersor groups。
However, security roles, shown in bold, are the focus here.
然而,以粗体显示的安全角色是这里讨论的重点。
Recall that you defined two security roles in the web.xml file.
回忆一下您刚才在web . xml文件中定义了两个安全角色。
The last update we need to make to web.xml is for security roles.
我们需要对web .xml做的最后一个更新针对的是安全性角色。
In the security Roles field, click add to add a new security role.
在Security Roles字段中,单击add添加一个新的安全性角色。
The two security roles are defined using security-role elements.
两个安全角色使用security-role元素定义。
Select the appropriate security roles, as shown in Figure 23, then Next.
选择适当的安全性角色,如图23 所示,然后选择 Next。
Mapping security roles using the WebSphere binding extension properties.
使用WebSphere绑定扩展属性来映射安全角色。
Figure 3 shows the security roles created for our sample Web application.
图3显示了为示例Web应用程序创建的安全角色。
Button to collect all the security roles defined in all the Web and EJB modules.
按钮来收集在所有Web及EJB模块中定义的安全角色。
Answer: To begin with, you should secure your servlets using J2EE security roles.
答:首先,您应该确保您的Servlet使用了J2EE安全角色。
Click Gather to display the security roles we defined previously at the EAR level.
单击Gather显示前面定义的在ear层的安全角色。
In this section we see how to define security roles and configure method permissions.
在此部分,我们将了解如何定义安全角色和配置方法权限。
To create the security roles in the EAR deployment descriptor, use the role Mapping button.
要在EAR部署描述符中创建安全性角色,使用RoleMapping按钮。
The JRules execution server defines several security roles to restrict access to its MBean.
JRulesExecutionServer定义几个安全角色以限制对它的MBean的访问。
J2EE security roles and constraints are added to the deployment descriptor of the application.
可将J2EE安全角色和约束添加到应用程序的部署描述符。
You then map the security roles to principals in the Community Edition specific deployment plan.
然后将安全角色映射到CommunityEdition特定部署计划中的主体。
This file, shown in Listing 16, is similar to the TestSuite plan but doesn't require security roles.
此文件(如清单16所示)类似于TestSuite计划,但是不要求使用安全角色。
For our example, the security roles are already defined in the project interchange file you imported.
对于我们的示例,安全角色已经在导入的项目交换文件中进行了定义。
Use the WebSphere binding extension properties to map the security roles to an authentication status.
使用WebSphere绑定扩展属性将安全角色映射到身份验证状态。
You define security roles by using a @DeclareRoles annotation on a bean class, as shown in Listing 8.
通过对Bean类使用 @DeclareRoles注释定义安全角色,如清单8 中所示。
Administrative and application security needs to be enabled in order for security roles to be enforced.
管理和应用程序安全性需要启用,以实施安全角色。
You now have the three GBeans and the realm set up, and your security roles and constraints are defined.
现在您已经设置了三个GBeans和领域,并且定义了您的安全角色和约束。
The security roles are mapped to principals under the role-mappings element inside the security element.
安全角色映射到security元素内的role -mappings元素下的主体。
V4 conforms to the J2EE 1.2 authorization model, which is based on security roles rather than method groups.
V 4符合J2EE 1.2基于安全性角色而不是方法组的授权模型。
Administrative and application security both need to be enabled in order for security roles be enforced.
为强制实施安全性,需要同时启用管理和应用程序安全性。
应用推荐