posted 15 years ago
i have my web.xml setup ... the below code is what i am using for rendering .... but it always returns false .... any idea? please help asap....thanks
HttpServletRequest httpServletRequest =(HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
validUser=httpServletRequest.isUserInRole("ADMIN USER");
return validUser;