Listing 7. XML configuration for the populator bean.
清单7. populator bean的XML配置。
This completes the configuration of the populator bean.
这样就完成了populatorbean的配置。
The LDAP directory returns the user's role information to the populator.
LDAP目录将用户角色信息返回给populator。
The LDAP authentication provider transfers control to the populator bean.
LDAP身份验证提供者将控制权传递给populatorbean。
It is not mandatory to use the same initial context for both the authenticator and populator beans.
并不强制要求authenticator和populatorbean使用相同的初始上下文。
The first constructor parameter specifies the initial context that the populator bean uses to read the business roles of an authenticated user.
构造函数的第一个参数指定了populatorbean用来读取经过验证用户的业务角色的初始上下文。
As you can guess, the populator bean searches through the LDAP directory to find the nodes of the groups to which an authenticated user belongs.
如您所料,populatorbean将搜索整个LDAP目录来查找经过验证的用户所属的组节点。
The configuration of the authenticator bean is complete. The next section looks at the configuration of the populator bean, also shown in Listing 4.
authenticatorbean的配置完成后,下一步将查看populator bean的配置,如清单4所示。
Once the user is authenticated, the second parameter, populator, retrieves information about the user's access rights (or business roles) from the LDAP directory.
完成身份验证后,第二个参数populator将从LDAP目录中检索有关该用户的访问权限(或业务角色)信息。
Once the user is authenticated, the second parameter, populator, retrieves information about the user's access rights (or business roles) from the LDAP directory.
完成身份验证后,第二个参数populator将从LDAP目录中检索有关该用户的访问权限(或业务角色)信息。
应用推荐