Package org.latexlab.docs.server.auth

Examples of org.latexlab.docs.server.auth.AuthenticationManager


   * On GET, check and require authentication. If authenticated, write editor page.
   */
  public void doGet(HttpServletRequest req, HttpServletResponse resp)
       throws IOException {
  try {
    AuthenticationManager authManager = new AuthenticationManager(
        new AuthenticationTokenStore(), AuthenticationKey.getAuthSubKey());
    authManager.autoPilot(req, resp, false);
  } catch(Exception x) {
    log.log(Level.SEVERE, "Auto-pilot authentication error: "  + x.getMessage(), x);
  }
    resp.setContentType("text/html");
    char[] buffer = new char[1028];
View Full Code Here

TOP

Related Classes of org.latexlab.docs.server.auth.AuthenticationManager

Copyright © 2018 www.massapicom. 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.