This content has been marked as final. Show 6 replies
I am converting taskflow into portlet.
For getting userid from security i am using below code
PortletRequest req = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
String user = req.getRemoteUser();
In this way i am getting the user logged in but not the role.
How do i get the role?