wood burning stoves 2.0*
The moose likes Servlets and the fly likes LOGIN -authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "LOGIN -authentication" Watch "LOGIN -authentication" New topic
Author

LOGIN -authentication

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

hi all,

in my project i want authenticate login user..

how can i do it..pls help me ..

thanks
warm regards,
seetharaman
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
Well, this has nothing to do with struts itself. Well, the basic thing to do is to have a form with a username and password fields, and it submits to an action that authenticates the user. The action authenticates the user by comparing the username and password with those in database or LDAP, preferably with encryption. Of course a lot of other things can be done, like using JAAS, ACEGI, using a central authenticating server like CAS.


Visit my blog: http://jnassef.blogspot.com/
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
The http://faq.javaranch.com/java/TomcatFaq has a section on web app security. While some of it (the stuff about setting up realms) is Tomcat-specific, most of it applies to all web apps (and other servers have mechanisms similar to realms).

I'll move this to the servlet forum.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LOGIN -authentication
 
Similar Threads
Login page security using Servlet
Configuring the application policy in login-config.xml for LDAP Apache DS
[JBoss 6.0 M1] javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
oracle JDBC driver download
Login Servlet