Validate the specified logon credientials. If valid credentials are specified, return the corresponding {@link User} instance.Otherwise, return null.
null
226227228229230231232233234235236
*/ public String logon() { // Attempt a successful authentication LogonLogic logic = (LogonLogic) getBean(LOGIC_BEAN); User user = logic.authenticate(username, password); if (user != null) { if (user.isConfirmed()) { // Confirmed user, log him/her on register(user); if (isRememberMe()) {