src/org/sonews/acl/AuthInfoCommand.java
changeset 118 ba7ea56fd672
parent 112 ca54040b4409
     1.1 --- a/src/org/sonews/acl/AuthInfoCommand.java	Sun Oct 30 22:13:32 2011 +0100
     1.2 +++ b/src/org/sonews/acl/AuthInfoCommand.java	Mon Nov 07 17:47:10 2011 +0100
     1.3 @@ -49,6 +49,7 @@
     1.4  
     1.5  	@Override
     1.6  	public boolean isStateful() {
     1.7 +		// TODO: make it statefull?
     1.8  		return false;
     1.9  	}
    1.10  
    1.11 @@ -76,6 +77,7 @@
    1.12  				} else {
    1.13  
    1.14  					char[] password = commandMatcher.group(2).toCharArray();
    1.15 +					// TODO: StorageManager should return User object instead of boolean (so there could be transferred some additional information about user)
    1.16  					boolean goodPassword = StorageManager.current().authenticateUser(conn.getUser().getUserName(), password);
    1.17  					Arrays.fill(password, '*');
    1.18  					commandMatcher = null;