Hi,
I was wondering if there is a way to make a portlet which allows a user to see a list of roles (not all roles, just the ones I choose) and let them switch to the role that they choose. Please let me know if you have a way to do this.
Thanks
Look at the RoleModule class.
And you can get it from JNDI:
@JndiInject(jndiName = ModuleConstants.ROLEMODULE_JNDINAME) private RoleModule roleModule;