In my Spring portlet controller, I have a method annotated like this:
@PreAuthorize("hasRole('ROLE_BankUser')
Now when a user logs in to the portal and tries to access the portlet, where from will this method know if the user has a role of 'ROLE_BankUser'? Is it going to be defined in the LDAP where the user has all other credentials(like login and password)?