Create a security role named BPEUser.
创建名为BPEUser的安全角色。
Add a security role called administrator.
添加安全角色administrator。
We use a role element for each security role to be mapped.
我们对每个要映射的安全角色使用一个role元素。
The role-name element specifies the name of the security role.
role-name元素指定安全角色的名称。
In the security Roles field, click add to add a new security role.
在Security Roles字段中,单击add添加一个新的安全性角色。
Test if the caller has a given security role.
测试调用者是否有指定的安全角色。
(StringroleName) Test if the caller has a given security role.
测试调用者是否有指定的安全角色。
Now that you have a security role, you need to assign it to some resources.
现在您拥有了一个安全性角色,您需要给其分配一些资源。
For each security role, a corresponding principal class and its name must be declared.
对于每个安全角色,必须声明相应的主体类及其名称。
IsUserInRole: This method determines whether a remote user is in a specific security role.
isUserInRole:此方法判定远程用户是否具有特定的安全角色。
IsUserInRole: This method determines whether a remote user is in a specific security role.
isUserInRole:此方法判定远程用户是否具有特定的安全角色。
应用推荐