Hi there,
I am quite junior in java currently doing a simple project, where there is a log in field, and one id and password is hard coded so that one can login anytime. if one logs in, A panel appears and there are some stuffs which admin can do, like adding new admin, deleting admin, and so on.
If they click on add admin, the added name and password containing information can be used for further log in and he can do the same stuffs like the first admin.
So my query is regarding The adding process. initially, what I am thinking now is, if admin clicks the add admin button and fills up the name and password, then the info's will be serialized or will be written in a text file with maintaining order. Then if admin tries to login using the information that has been written in a file, file will be searched for that specefic id and password and will be given access if matches.
Is it good!
I know it is not so cool process.
Also it will be great to know, If I can use serialization and deserialization.