Forums Register Login

user authentication

+Pie Number of slices to send: Send
hello,
could somebody please point me a nice tutorial to do user authentication like to check user name and password in a database table.
Thanks in advance
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
Thanks for the links balaji.
well, am quite confused with this authentication.could somebody please clarify me.
I've a user interface done in swing.Now, the user enter the username and password and this has to be checked with the one's stored in the table.This table(db) is on the server.when the user is authenticated, the user can start matlab on the server.To start matlab, as well as the other things are working fine.I'm only confused with this authentication.
Thanks for your time
+Pie Number of slices to send: Send
To do the authentication check...
  • Pick one basic tutorial and try to learn how to connect,open a database like MsAccess/SQL Server/ or any JDBC complaint database.
  • Now try to learn how to retrieve select and display a table from a database using SQL Query
  • then try to learn how you can compare the given(from swing)username and password literals with the database table using SQL Query
  • Depending on step 3, you can allow or deny the user.

  • +Pie Number of slices to send: Send
    Balaji, thanks once again.
    I've written a simple example in-order to display the records from a table and its working fine on my local pc.Now, I've placed my db on a drive which is accessible to all the pc's in our network and changed the path accordingly.
    when i try to run the program, it throws me off with this error:
    [Microsoft][ODBC Microsoft Access Driver] data '(unknown)' canot be found.
    How can i fix this error, thanks in advance.
    Heres the part of the code which I've used.

    [ January 20, 2004: Message edited by: kimi lynn ]
    +Pie Number of slices to send: Send
    OK, I fixed it
    Shiny ad:
    a bit of art, as a gift, that will fit in a stocking
    https://gardener-gift.com


    reply
    reply
    This thread has been viewed 664 times.
    Similar Threads
    user maintenance
    REALM NAME
    Not able to navigate the user to another jsp in servlets using RequestDispatcher
    Help on JTextField
    In JavaMail
    More...

    All times above are in ranch (not your local) time.
    The current ranch time is
    Apr 16, 2024 04:30:31.