Package org.keycloak.services.resources
Class WelcomeResource
java.lang.Object
org.keycloak.services.resources.WelcomeResource
- Author:
- Stian Thorgersen
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
protected String
jakarta.ws.rs.core.Response
getResource
(String path) Resources for welcome pagejakarta.ws.rs.core.Response
Welcome page of Keycloak
-
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 URISyntaxExceptionWelcome 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
-