In need of help again.
Well I wanted to write a authentication mechanism using ext-js and xml schema.
That is I will have a few users in an xml schema,with username and password
What I want to implement is:
<?xml version="1.0" encoding="UTF-8"?>
<password>Some encrypted password</password>
1) Have a form to add a user,which on adding saves the username and password(encrypted) to the xml files.
Encryption can be using standard base64 encoding using java.
2) use the same username password to authenticate the user.i.e if the username password matches he is allowed to enter the application else not.How to check if the username posted from form matches the one in the xml file.
Problem I am facing:
I am able to read from xml files(referred to sample examples) but how to save them to the xml? Is it possible
Can you point to some examples??
Any help would be appreciated.