Class LogInLogOutResources

java.lang.Object
org.apache.drill.exec.server.rest.LogInLogOutResources

@Path("/") @PermitAll public class LogInLogOutResources extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
    This class should be public for it's method's to be accessible by mainLogin.ftl file
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.glassfish.jersey.server.mvc.Viewable
    getLoginPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.ws.rs.core.SecurityContext sc, javax.ws.rs.core.UriInfo uriInfo, String redirect)
     
    org.glassfish.jersey.server.mvc.Viewable
     
    org.glassfish.jersey.server.mvc.Viewable
    getMainLoginPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.ws.rs.core.SecurityContext sc, javax.ws.rs.core.UriInfo uriInfo, String redirect)
     
    org.glassfish.jersey.server.mvc.Viewable
    getSpnegoLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.ws.rs.core.SecurityContext sc, javax.ws.rs.core.UriInfo uriInfo, String redirect)
     
    void
    logout(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LogInLogOutResources

      public LogInLogOutResources()
  • 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
    • getSpnegoLogin

      @GET @Path("/spnegoLogin") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getSpnegoLogin(@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 void logout(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse resp) throws Exception
      Throws:
      Exception
    • getMainLoginPage

      @GET @Path("/mainLogin") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getMainLoginPage(@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