Class LoginResource

java.lang.Object
io.trino.server.ui.LoginResource

@Path("") public class LoginResource extends Object
  • Constructor Details

  • Method Details

    • getFile

      @ResourceSecurity(WEB_UI) @GET @Path("/ui/login.html") public jakarta.ws.rs.core.Response getFile(@Context jakarta.ws.rs.core.SecurityContext securityContext)
    • login

      @ResourceSecurity(WEB_UI) @POST @Path("/ui/login") public jakarta.ws.rs.core.Response login(@FormParam("username") String username, @FormParam("password") String password, @FormParam("redirectPath") String redirectPath, @Context jakarta.ws.rs.core.SecurityContext securityContext, @BeanParam ExternalUriInfo externalUriInfo)
    • logout

      @ResourceSecurity(WEB_UI) @GET @Path("/ui/logout") public jakarta.ws.rs.core.Response logout(@Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @Context jakarta.ws.rs.core.SecurityContext securityContext, @BeanParam ExternalUriInfo externalUriInfo)