Class AdminConsole
java.lang.Object
org.keycloak.services.resources.admin.AdminConsole
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ClientConnectionprotected static final org.jboss.logging.Loggerprotected final RealmModelprotected final HttpRequestprotected final HttpResponseprotected final KeycloakSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfig()Adapter configuration for the admin console for this realmprotected RealmModelgetAdminstrationRealm(RealmManager realmManager) jakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponseMain page of this realm's admin console.getMessages(String lang) jakarta.ws.rs.core.Responselogout()Logout from the admin consolejakarta.ws.rs.core.ResponsePermission informationjakarta.ws.rs.core.Response
-
Field Details
-
logger
protected static final org.jboss.logging.Logger logger -
clientConnection
-
request
-
response
-
session
-
realm
-
-
Constructor Details
-
AdminConsole
-
-
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(@QueryParam("currentRealm") String currentRealm) Permission information- Parameters:
currentRealm-- Returns:
-
logout
@Path("logout") @GET public jakarta.ws.rs.core.Response logout()Logout from the admin console- Returns:
-
getAdminstrationRealm
-
getMainPage
Main page of this realm's admin console.- Throws:
IOExceptionFreeMarkerException
-
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)
-