Asad

Asad wrote:
what we are doing is we are reading the JAAS config file name in our action
class,
This config file we are passing to our Java class(LoginContext - JAAS),
which call the CallBackhandler(JAAS) , which uses the

HttpRequest.getRequestDispatcher("VM filename").forward(Request,Response)

Why are you using RequestDispatcher? Is JAAS in a separate servlet than Turbine?


to call the vm file, after this we call sleep in our callbackhandler to pass
control to VM .

After we get the data (username and password ) from VM file, we call notify
to wake up our
sleeping thread.
which does the data validation.

To where does the form in your VM submit? A Turbine action? Your JAAS servlet?


There are no errors shown in the logs .
And we have modifed the Turbine.Java src to print a msg on screen whenever
it recieves a GET/POST msg.
Even that msg is not getting printed.

You may want to get logging working or find some way to perform some tests, such as with JUnit or HttpUnit, etc.


This may work better as a service or pull tool.

Eric


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



Reply via email to