585960616263646566
} } if (currentUser == null) { throw new UnAuthenticatedUserException(); } if (this.doesPasswordHasToBeRenewed(currentUser)) { throw new ResetPasswordException(currentUser.getId()); } return currentUser; }
7778798081828384858687
} } if (currentUser == null) { throw new UnAuthenticatedUserException(); } if (this.shouldCheckForPasswordForceReset(commandWrapper) && this.doesPasswordHasToBeRenewed(currentUser)) { throw new ResetPasswordException( currentUser.getId()); } return currentUser; }