Class LogInLogOutResources
java.lang.Object
org.apache.drill.exec.server.rest.LogInLogOutResources
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
This class should be public for it's method's to be accessible by mainLogin.ftl file -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.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)
-
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
-