user265536
user265536

Reputation: 113

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 username and password.What is the the best way of doing this?

Upvotes: 1

Views: 1594

Answers (2)

Ravindra
Ravindra

Reputation: 353

The way you secure this will depend on what you have on server side?

  1. Applet takes username and password. Calls some auth service on the server to authenticate the user.

  2. Next challenge would be to maintain this authentication state. Solution would totally depend on how you are communicating back from your applet.

Upvotes: 1

Lars Andren
Lars Andren

Reputation: 8781

This guide to form-based authentication could be helpful.

Upvotes: 1

Related Questions