You said it. The database returns the user's various roles ... to the container, which also supplies the request from whence isUserInRole comes.

HTH, Ted.

Dave Yutzy wrote:

I’ve been wracking the web to try and find out how to use the “request.isUserInRole()” functionality.

I understand how to setup the web.xml as well as the <action> tag in the struts config, but where would I actually “assign” the value of the user’s role?

So, if I have a custom login page and I auth. against a DB that returns the user’s various roles, how to I get those values into “????” so that they can be read by the request.isUserInRole() call?

Anything you can do to point me in the right direction is greatly appreciated!





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to