can any body please give me the code for creating a login page ...which gets username and password as input and verifies the values in the database ..
please give me the code for the logincontroller....which authenticates the input values
:confused
threads
posts
can any body please give me the code for creating a login page ...which gets username and password as input and verifies the values in the database ..
please give me the code for the logincontroller....which authenticates the input values
:confused
Take a look at the sample applications shipped with spring.
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan
can u please give me the code of the sample applications...i coludnt find it on the thread posted above
The samples (and their code) at distributed with Spring. So if you downloaded that you have the samples including the code.
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan
Also take a look at Acegi, there's a running example that ships with it.
Barracuda Networks SSL VPN Lead Developer
http://pramatr.wordpress.com
http://twitter.com/karldmoore
http://www.linkedin.com/in/karldmoore
Any postings are my own opinion, and should not be attributed to my employer or clients.
can any body please give the code for the login controller...which verifies for the authentication using the database and redirects to a new page if the user is present in the database
Hi.
I think that instead of repeating your self, you should instead put your hands into it: grab one of the samples proposed in the previous posts and start digging it.
It is not reasonable to ask that someone code the application instead of you for three simple reasons:
- This forum members are not here to do other's job.
- We can't possible guess your exact needs and make out a fitted-code.
- That is not going to help you at all: nothing is better than DIY !
Regards.
If you download my "warthog" app[1] (http://warthog.googlecode.com), there is a working sample of a login screen you might be able to leverage (no guarantees of course to its suitability for your work).
In particular, search for JDBCConnObj.java and Login*.java from the Subversion checkout, the reports-servlet.xml file, as well as login.jsp files. (You do need a Subversion client though to get the source.) If you have any code-specific questions, please ask at the Google Group linked to at the home page.
Note: I myself need to be looking at the examples given by the other posters to this thread, so I would recommend researching those other links as well.
HTH,
Glen
I downloaded SpringSource Tool Suite 2.6 recently. Can anyone tell me where exactly I need to find the sample codes inside Spring?