Hi:

I would like to use realm FORM authentication in my GWT application,
running on Tomcat 7.x

I got it working using by FormPanel ( with target = "_top" ) and
web.xml configuration as

<form-login-config>
                    <form-login-page>/login.jsp</form-login-page>
                    <form-error-page>/error.jsp</form-error-page>
</form-login-config>

As I said, all works fine.

But there is a problem: I loss the advantages of asynchrononus calls
and during the login process doesn't look like a GWT app.

I would like my login page calls asynchrononusly to j_security_check
(realm) and process the response.
So, if I try to access to protected resource ( 
http://localhost:8080/protected/file.html),
Tomcat redirect to login page

I can to do this with RequestBuilder , but , if user/credentials are
right , the response.getText()  contains the content of the protected
resource ( file.html), but I don't know how "to paint" this content in
web browser.
This content can be a HTML file, or a PNG image, or a XML file. I want
to show the protected content as I do it with the FormPanel widget
( and target = "_top" )

Furthermore, with RequestBuilder , I loss the protected URL (http://
localhost:8080/protected/file.html) in browser's URL bar

Did anyone do it ? Any ideas ?

Thanks and regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to