Java authentication and password changing periodically -
Java authentication and password changing periodically -
i have java application , there 2 users can utilize application, , difference between them 1 can utilize printing menu menubar , other 1 cannot his.
so this, made 'log in' frame contains user name field , password, , 3 buttons, "connect" "cancel" , 3rd 1 "change password".
the problem of course of study lies in lastly one.. application should alter "password" periodically, saying illustration every 3 months user notified, , can through jdialog 3 text fields(old password, new 1 , confirm password) clicking on "change password" button.
well here's 'probably stupid' question: how can create application store password , username, notify user, , allow him alter password, without having database? since database ready use, , didn't create , don't have access add together it...
by way application desktop app , searched authentication plugins , whatnot, found server app authentications, , don't think they're same concept, that, i'm novice in java.
hope clarified question enough. , give thanks in advance.
serialization process of exporting object construction & value file. allows save state of data, , reload @ each launch of app.
while store value of each field of objects in text file, can rather complicated if objects complex. serialization automated , quite simple implement (as in java) , can find plenty of examples like one how utilize on internet.
java authentication login passwords
Comments
Post a Comment