How to implement a login page in a GWT app?

后端 未结 3 1162
Happy的楠姐
Happy的楠姐 2020-12-30 06:15

My WebApp needs to authenticate user before allowing any sort of access. The scenario I\'m trying to implement is a login page with username and password fields. Once user h

3条回答
  •  抹茶落季
    2020-12-30 06:41

    I'm not sure how well secure your application has to be... but I would suggest leaving that piece of work to spring security.

    You could make a regular login.html page which would, upon successful login, redirect user to the "real" gwt app.

    Check out this article: http://code.google.com/webtoolkit/articles/security_for_gwt_applications.html

提交回复
热议问题