Class WebUiPageTree.LogInLogOutPages

java.lang.Object
org.apache.drill.yarn.appMaster.http.WebUiPageTree.LogInLogOutPages
Enclosing class:
WebUiPageTree

@Path("/") @PermitAll public static class WebUiPageTree.LogInLogOutPages extends Object
Pages, adapted from Drill, that display the login and logout pages. Login uses the security mechanism, again borrowed from Drill, to validate the user against either the simple user/password configured in DoY, or the user who launched DoY using the Drill security mechanism.
  • Field Details

  • Constructor Details

    • LogInLogOutPages

      public LogInLogOutPages()
  • Method Details

    • getLoginPage

      @GET @Path("/login") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getLoginPage(@Context javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.HttpServletResponse response, @Context javax.ws.rs.core.SecurityContext sc, @Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("redirect") String redirect) throws Exception
      Throws:
      Exception
    • getLoginPageAfterValidationError

      @POST @Path("/login") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getLoginPageAfterValidationError()
    • logout

      @GET @Path("/logout") public org.glassfish.jersey.server.mvc.Viewable logout(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse resp) throws Exception
      Throws:
      Exception