Where is the action for login.jsp of Examples web application
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   zhang_yongbin
Posted On:   Wednesday, January 8, 2003 05:42 PM

Login Page for Examples I can't find the source of action "j_security_check" in the jsp page /examples/jsp/security/protected/login.jsp Here is the login.jsp : <%= response.encodeURL("j_security_check") %>' > Username: Password: can u tell me something about it ? thanks.    More>>
Login Page for Examples

I can't find the source of action "j_security_check" in the jsp page /examples/jsp/security/protected/login.jsp


Here is the login.jsp :







<%= response.encodeURL("j_security_check") %>' >













Username:
Password:










can u tell me something about it ?
thanks.    <<Less

Re: Where is the action for login.jsp of Examples web application

Posted By:   Brian_Glodde  
Posted On:   Wednesday, January 8, 2003 06:43 PM

You'll also want to look in your examples/WEB-INF folder to see web.xml. It has the security-constraint and login-config deployment descriptors and their related elements that are part of the authentication model. This is part of telling the container which resources to "protect". When you submit the form above, Tomcat will look in /$CATALINA_HOME/conf/tomcat-users.xml (default location) to verify the username and password combination.


This is a broad topic and the information given above is very basic. To learn more about Tomcat security and how to configure it:


» Tomcat Security Docs

» Tomcat Security Realms

About | Sitemap | Contact