This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes j_security_check -vs- custom login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "j_security_check -vs- custom login" Watch "j_security_check -vs- custom login" New topic
Author

j_security_check -vs- custom login

Rusty Enisin
Ranch Hand

Joined: May 26, 2005
Posts: 107
I have some questions about which way is the best way to handle a login.

j_security_check or your own custom login?

What is the difference between using j_security_check and writing your own login? Is there any benefit to writing your own login? Is there anything negative or limiting about using j_security_check? Why would you use one instead of the other?

What do you think?


The squeaky wheel gets the grease. Well, that or replaced...
Raj CK
Greenhorn

Joined: Jun 07, 2005
Posts: 12
Hi Scott,

It's a big question. Here is the very good link for the nice article from O'Reilly, http://www.onjava.com/pub/a/onjava/2001/08/06/webform.html

I have found 'Form based' authentication (aka container authentication) is very useful in single sign-on, where you can access all the applications installed on the container with one user id.

Thanks
Rusty Enisin
Ranch Hand

Joined: May 26, 2005
Posts: 107
Many many thanks. I will read up on that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: j_security_check -vs- custom login