password vallidator in java from Carlos Ble's  screen cast