0 Replies Latest reply on Sep 20, 2010 3:54 PM by John DeStefano

    Question regarding using errai with a custom servlet

    John DeStefano Apprentice



      Not sure how far off base I am with this question.


      We are using errai for an application. We would like to server up a text file from a custom servlet. The application in errai requires the user to authenticate againt a custom hibernate adapter, so we have an authenticated user in errai. We can easily call the servlet from the errai application and display the output in a popup window. What we would like to do is check and make sure the user is authenticated in errai before allowing the servlet to run. Does errai maintain this type of info in the http session? Is there anyway to go about doing this in errai currently? This seems to be a common theme in GWT apps when it comes to displaying reports to the user in separate window. I think its usually handled through web security configuration.