Class AdminConsole

java.lang.Object
org.keycloak.services.resources.admin.AdminConsole

public class AdminConsole extends Object
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • logger

      protected static final org.jboss.logging.Logger logger
    • clientConnection

      protected final ClientConnection clientConnection
    • request

      protected final HttpRequest request
    • response

      protected final HttpResponse response
    • session

      protected final KeycloakSession session
    • realm

      protected final RealmModel realm
  • Constructor Details

  • Method Details

    • config

      @Path("config") @GET @Produces("application/json") public ClientManager.InstallationAdapterConfig config()
      Adapter configuration for the admin console for this realm
      Returns:
    • whoAmIPreFlight

      @Path("whoami") @OPTIONS public jakarta.ws.rs.core.Response whoAmIPreFlight()
    • whoAmI

      @Path("whoami") @GET @Produces("application/json") public jakarta.ws.rs.core.Response whoAmI()
      Permission information
      Parameters:
      headers -
      Returns:
    • logout

      @Path("logout") @GET public jakarta.ws.rs.core.Response logout()
      Logout from the admin console
      Returns:
    • getAdminstrationRealm

      protected RealmModel getAdminstrationRealm(RealmManager realmManager)
    • getMainPage

      @GET public jakarta.ws.rs.core.Response getMainPage() throws IOException, FreeMarkerException
      Main page of this realm's admin console
      Returns:
      Throws:
      URISyntaxException
      IOException
      FreeMarkerException
    • getIndexHtmlRedirect

      @GET @Path("{indexhtml: index.html}") public jakarta.ws.rs.core.Response getIndexHtmlRedirect()
    • getMessages

      @GET @Path("messages.json") @Produces("application/json") public Properties getMessages(@QueryParam("lang") String lang)