View Poll Results: create a login page

Voters
1. You may not vote on this poll
  • threads

    1 100.00%
  • posts

    0 0%
Results 1 to 9 of 9

Thread: create a login page......using springframework

  1. #1
    Join Date
    Nov 2007
    Posts
    3

    Default create a login page......using springframework

    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

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    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

  3. #3
    Join Date
    Nov 2007
    Posts
    3

    Default

    can u please give me the code of the sample applications...i coludnt find it on the thread posted above

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    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

  5. #5
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,425

    Default

    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.

  6. #6
    Join Date
    Nov 2007
    Posts
    3

    Default

    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

  7. #7

    Default

    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.

  8. #8
    Join Date
    Feb 2006
    Location
    Arlington, VA, USA
    Posts
    194

    Default

    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

  9. #9
    Join Date
    May 2011
    Posts
    4

    Default

    I downloaded SpringSource Tool Suite 2.6 recently. Can anyone tell me where exactly I need to find the sample codes inside Spring?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •