Package tifauv.jplop.core.auth

Examples of tifauv.jplop.core.auth.Authenticator.authenticate()


      }

      // OK, now we are sure we got all the required fields
      m_logger.info("Logon request for user [" + username + "].");
      Authenticator authn = new Authenticator(username, password);
      if (authn.authenticate()) {
        p_request.getSession().removeAttribute(CommonConstants.NICK_SESSION_ATTR);
        p_request.getSession().setAttribute(CommonConstants.USER_SESSION_ATTR, authn.getUser());
        getServletContext().getRequestDispatcher(SUCCESS_PAGE).forward(p_request, p_response);
      }
      else {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.