File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP 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 » JSP
Bookmark "login authentication" Watch "login authentication" New topic
Author

login authentication

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 371


when I am using j_security_check , j_username and j_password, how do I get these functionalities in my application ? Where can I download them from ? Are they part of some API ? which API ?
what kind of framework do I need to use these functionalities ?

thanks
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

google for "Form Based Authentication in tomcat"
chandra kambham
Ranch Hand

Joined: Jun 09, 2008
Posts: 74
All the required authentication mechanism will be provided by the Tomcat server Itself. No need to download any other things.
Anuj Prashar
Ranch Hand

Joined: Apr 15, 2008
Posts: 99

You also need to declare in DD that you are using form based authentication as following

<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/loginPage.html</form-login-page>
<form-error-page>/loginError.html</form-error-page>
</form-login-config>
</login-config>


SCJP 5,SCWCD 5, RHCT
 
 
subject: login authentication
 
Similar Threads
Pass username and password via browser in Formbased Authentication
redirecting to the last requested page after valid log in
Form based authentication with Struts login form
Authentication/Authorization
Form-based Security