Dear all!

It was a long time ago when I've asked a question here, but now I need your
help. (The question is a little off-topic, but I hope that many of us are
familiar with this issue). So:

I am trying to implement an application with container-based authentication
and authorization. As you might have know, the specification states that two
parameters are passed for authentification: 'j_username' and 'j_password'.
Now the issue: I need one more parameter 'role' to be passed along with the
login request.

The problem is that the authentification URL is 'j_security_check' which is
handled by the container and then the original request is passed to the
servlet. Say, if you are tring to access a restricted resource like
'index.html', container will store your request and then display you the
login screen. After you've passed the authentification you'll be redirected
to the stored resource, in our case the 'index.html'. This results in a
request without any params that were passed along with the authentification
form.

Anybody with experience in this area? Maybe there are subscribers of Tomcat
Users lists? 
Help, workarounds, tips is very appreciated.

Regards,
  Konstantin

_________________________________________
Konstantin Piroumian
Lead Developer

Email: [EMAIL PROTECTED]
ICQ#: 2297575
* Work Tel#:  +7 095 795 0520 * 1288
* More ways to contact me <http://web.icq.com/wwp?Uin=2297575> 
i See more about me <http://kot-p.hotbox.ru/> 
_________________________________________



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to