Class WelcomeResource

java.lang.Object
org.keycloak.services.resources.WelcomeResource

@Provider @Path("/") public class WelcomeResource extends Object
Author:
Stian Thorgersen
  • Field Details

    • logger

      protected static final org.jboss.logging.Logger logger
  • Constructor Details

    • WelcomeResource

      public WelcomeResource()
  • Method Details

    • getWelcomePage

      @GET @Produces("text/html; charset=utf-8") public jakarta.ws.rs.core.Response getWelcomePage() throws URISyntaxException
      Welcome page of Keycloak
      Returns:
      Throws:
      URISyntaxException
    • createUser

      @POST @Consumes("application/x-www-form-urlencoded") @Produces("text/html; charset=utf-8") public jakarta.ws.rs.core.Response createUser()
    • getResource

      @GET @Path("/welcome-content/{path}") @Produces("text/html; charset=utf-8") public jakarta.ws.rs.core.Response getResource(@PathParam("path") String path)
      Resources for welcome page
      Parameters:
      path -
      Returns:
    • getAdminCreationMessage

      protected String getAdminCreationMessage()