This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

request.IsUserInRole() always returning false from jsp?  RSS feed

 
Chuck Kulchar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey everyone, first post
Anyways, this code from my jsp:

always returns false. If I call the same request.isUserInRole("requester") from the java it returns true like it should. I have ahold of my user in the jsp as <%= request.getRemoteUser()) %> returns the right name. Roles are defined in my web.xml and also my application bindings, dont know if Im missing something?
Any help is greatly appreciated! Thank you
[ August 12, 2003: Message edited by: Chuck Kulchar ]
 
Chuck Kulchar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Turns out that it is a Websphere 4.0 test environment error, when I deployed to the QA box it worked a-ok. Just thought I'd pass on the word
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!