File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "j_security_check -vs- custom login" Watch "j_security_check -vs- custom login" New topic

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

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,

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.

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:
subject: j_security_check -vs- custom login
It's not a secret anymore!