Determining roles with Jxplorer
We will now try to determine the roles for our user with Jxplorer. Using the connection, we created previously, perform the following steps:
- Right-click on World and select Search.
- Enter a search base of
ou=Groups,dc=jbcpcalendar,dc=com. This corresponds to thebaseDnattribute of theDefaultSpringSecurityContextSourceobject we specified, plus thegroupSearchBaseattribute we specified for theAuthenticationManagerBuilderobject. - Enter a text filter of
uniqueMember=uid=user1@example.com,ou=Users,dc=jbcpcalendar,dc= com. This corresponds to the defaultgroupSearchFilterattribute of(uniqueMember={0}). Notice that we have substituted the full DN of the user we found in our previous exercise for the{0}value. - Click on Search.
Figure 6.8 – Role search
- You will observe that the User group is the only group returned in our search results. Click on copy DN of the single result returned by...