Java Applet Authentication
I have Java Applet(J2EE), I want to make it accessible only to a certain set of users,by authenticating them using use开发者_开发问答rname and password.What is the the best way of doing this?
This guide to form-based authentication could be helpful.
The way you secure this will depend on what you have on server side?
Applet takes username and password. Calls some auth service on the server to authenticate the user.
Next challenge would be to maintain this authentication state. Solution would totally depend on how you are communicating back from your applet.
精彩评论