• 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!