In Erel's original thread about jRDC2 he gives an example of the use of it. The only authentication in the example, as far I can see, is the login on to the database with username and password suplied in the config.properties file. When Erel and Aeric writes that authentication should be done on server side in a recent thread I don't think they mean the login to the database, right?
From Erel's original example about jRDC2, it is not easy for me to understand how authentication on the server side should be done. Can someone please show an example. It is nice if it is based on Erel's example.
In Erel's example, an animal table is created. Let's say we want individual users to log in with their individual username and password in their app. They can insert animals into the table when they are logged in. And when they request animals from the database, they only get the animals they have inserted.
From Erel's original example about jRDC2, it is not easy for me to understand how authentication on the server side should be done. Can someone please show an example. It is nice if it is based on Erel's example.
In Erel's example, an animal table is created. Let's say we want individual users to log in with their individual username and password in their app. They can insert animals into the table when they are logged in. And when they request animals from the database, they only get the animals they have inserted.