Java based console password manager