#306 Add permission manager to command service

- Inject permission manager into command service explicitly via constructor
- Change command mapper to only care about generating FoundCommandResult objects, and command handler to worry about dealing with it later on
This commit is contained in:
ljacqu
2016-01-09 21:57:20 +01:00
parent 3845c1e0eb
commit fc0b7c46ac
8 changed files with 101 additions and 135 deletions
@@ -62,7 +62,7 @@ public class PasswordSecurity {
* @param hashedPassword The encrypted password to test the clear-text password against
* @param playerName The name of the player
*
* @return True if the
* @return True if there was a password match with another encryption method, false otherwise
*/
private boolean compareWithAllEncryptionMethods(String password, HashedPassword hashedPassword,
String playerName) {