Class LoginResource

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

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

    Constructors
    Constructor
    Description
    LoginResource(FormWebUiAuthenticationFilter formWebUiAuthenticationManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.core.Response
    getFile(jakarta.ws.rs.core.SecurityContext securityContext)
     
    jakarta.ws.rs.core.Response
    login(String username, String password, String redirectPath, jakarta.ws.rs.core.SecurityContext securityContext)
     
    jakarta.ws.rs.core.Response
    logout(jakarta.ws.rs.core.HttpHeaders httpHeaders, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.core.SecurityContext securityContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)
    • 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.UriInfo uriInfo, @Context jakarta.ws.rs.core.SecurityContext securityContext)