How to implement a login page in a GWT app?

后端 未结 3 1163
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

    Have you looked at this page ?

    It describes how to do the following:

    • Create a 'login' page that is based on user/password authentication.
    • Store this data in a secure fashion on your server.
    • Allow users to 'remain logged in' for as long as you want so they don't have to enter their user name and password every time.
    • Make 'auto-complete' features of most modern browsers work with your GWT's login page. Discussion on adding more security with either HTTPS or fancy hashing algorithm.

提交回复
热议问题