Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

location of j_security_check

Thread view: 
Aj-India - 10 Apr 2006 13:06 GMT
Hi,

I am using Websphere 5.1. I am just curious to know the contents of
j_security_check. I dont know where this file resides. Does anyone know
in which jar file it is? I tried locating it with Jar browser but no
luck.

Cheers,

Aj
Andrea Desole - 10 Apr 2006 13:57 GMT
> Hi,
>
> I am using Websphere 5.1. I am just curious to know the contents of
> j_security_check. I dont know where this file resides. Does anyone know
> in which jar file it is? I tried locating it with Jar browser but no
> luck.

it's not the location of a specific file. j_security_check is the action
that applications using form based login have to specify for the login
form. In the same form you should also have a text input control called
j_username and a password input control called j_password.
When you see this it means that the information contained in the form
will be submitted to the server, which will check name and password. How
this is done is server specific.
Aj-India - 11 Apr 2006 07:39 GMT
I am looking for server specific information. By action, there can only
be two possibilities

(1) j_security_check is a servlet for which there should be some
mapping information in web.xml
(2) j_security_check is a Struts action for which there must be a
mapping in struts-config.xml

If (1) is true, then where does the servlet class file reside. I
searched in Admin console application of WebSphere but could'nt find it

If (2) is true, then where is the struts-config.xml?

cheers,

Aj
Andrea Desole - 11 Apr 2006 08:44 GMT
> I am looking for server specific information. By action, there can only
> be two possibilities
[quoted text clipped - 3 lines]
> (2) j_security_check is a Struts action for which there must be a
> mapping in struts-config.xml

it's none of the above. However, if you want to know how it is
implemented, I would assume that it's kind of a servlet. Not a real
servlet, though, because j_security_check is a relative location, so
it's not mapped in a standard way.
In short, don't be surprised if you don't find anything on your server
concerning j_security_check. If you do, it definitely won't be in *your*
web.xml (where you should find some other information concerning form
based login, like the form login page), but rather in a server specific
global configuration file.
I would still say that the best thing is to consider it what it is: a
standard action specified when you want to use form based login. If you
want to know more I would say a very good knowledge of Websphere is needed
Aj-India - 11 Apr 2006 12:28 GMT
I guess, the location of the configuration file will be a mystery.
Thanks for your help

Cheers,

Aj


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.