Updated README file. Modified comments in Login module.

This commit is contained in:
Juan Miguel Boyero Corral 2010-11-02 11:38:10 +01:00
parent c5e23c08c6
commit f04bc8bd19
2 changed files with 9 additions and 9 deletions

View File

@ -9,9 +9,10 @@ Content
SWADroid/ Android client.
/LICENSE License file.
/libs Libraries required by SWADroid.
/res Resources required by SWADroid.
/src Source files.
/gen/ Files autogenerated by IDE.
/libs/ Libraries required by SWADroid.
/res/ Resources required by SWADroid.
/src/ Source files.
Webservices/ Webservices implemented in SWAD server.
/LICENSE License file.
HISTORY.md Changelog file in GitHub markdown format.
@ -30,6 +31,5 @@ SWADroid Webservices is free software; you can redistribute it and/or modify
it under the same terms as [AGPLv3][agplv3] license.
[issues]: http://github.com/github/markup/issues
[gplv3]: http://www.gnu.org/licenses/gpl.html
[agplv3]: http://www.gnu.org/licenses/agpl.html

View File

@ -76,7 +76,7 @@ public class Login extends Module {
public void requestService()
throws NoSuchAlgorithmException, IOException, XmlPullParserException, SoapFault {
//Encrypts user password wiht SHA-512 and encodes it to Base64
//Encrypts user password with SHA-512 and encodes it to Base64
md = MessageDigest.getInstance("SHA-512");
md.update(prefs.getUserPassword().getBytes());
userPassword = Base64.encode(md.digest());
@ -133,10 +133,10 @@ public class Login extends Module {
try {
//Sends webservice request
requestService();
/**
* If an exception occurs, capture and points exception pointer
* to it.
*/
/**
* If an exception occurs, capture and points exception pointer
* to it.
*/
} catch (SoapFault ex) {
e = ex;
} catch (Exception ex) {