This content has been marked as final.
Show 4 replies
-
1. Re: Authentication not passed from web to EJBs through.
ricardoarguello Mar 4, 2005 11:08 AM (in response to dimkaz)request.userInRole() only works if your JSP or Servlet is defined as a protected resource in web.xml
Try to print request.getRemoteUser() in your JSP. If your JSP is not defined as protected in your web.xml file, it should return null.
Ricardo Arguello -
2. Re: Authentication not passed from web to EJBs through.
dimkaz Mar 4, 2005 11:11 AM (in response to dimkaz)in page i trying both. getRemote user give me admin. the user in roles give me false.
-
3. Re: Authentication not passed from web to EJBs through.
ricardoarguello Mar 4, 2005 11:58 AM (in response to dimkaz)It looks like a known 4.0.0 bug:
http://sourceforge.net/project/shownotes.php?release_id=254646
Try with JBoss 4.0.1 or 4.01SP1
Ricardo Arguello -
4. Re: Authentication not passed from web to EJBs through.
dimkaz Mar 7, 2005 3:48 AM (in response to dimkaz)Thank you. You was right. With SP1 no more problems.