Class AdminConsole
- java.lang.Object
- 
- org.keycloak.services.resources.admin.AdminConsole
 
- 
 public class AdminConsole extends Object - Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAdminConsole.WhoAmI
 - 
Field SummaryFields Modifier and Type Field Description protected ClientConnectionclientConnectionprotected static org.jboss.logging.Loggerloggerprotected RealmModelrealmprotected HttpRequestrequestprotected HttpResponseresponseprotected KeycloakSessionsession
 - 
Constructor SummaryConstructors Constructor Description AdminConsole(KeycloakSession session)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientManager.InstallationAdapterConfigconfig()Adapter configuration for the admin console for this realmprotected RealmModelgetAdminstrationRealm(RealmManager realmManager)javax.ws.rs.core.ResponsegetIndexHtmlRedirect()javax.ws.rs.core.ResponsegetMainPage()Main page of this realm's admin consolePropertiesgetMessages(String lang)javax.ws.rs.core.Responselogout()Logout from the admin consolejavax.ws.rs.core.ResponsewhoAmI()Permission informationjavax.ws.rs.core.ResponsewhoAmIPreFlight()
 
- 
- 
- 
Field Detail- 
loggerprotected static final org.jboss.logging.Logger logger 
 - 
clientConnectionprotected final ClientConnection clientConnection 
 - 
requestprotected final HttpRequest request 
 - 
responseprotected final HttpResponse response 
 - 
sessionprotected final KeycloakSession session 
 - 
realmprotected final RealmModel realm 
 
- 
 - 
Constructor Detail- 
AdminConsolepublic AdminConsole(KeycloakSession session) 
 
- 
 - 
Method Detail- 
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 javax.ws.rs.core.Response whoAmIPreFlight()
 - 
whoAmI@Path("whoami") @GET @Produces("application/json") public javax.ws.rs.core.Response whoAmI()Permission information- Parameters:
- headers-
- Returns:
 
 - 
logout@Path("logout") @GET public javax.ws.rs.core.Response logout()Logout from the admin console- Returns:
 
 - 
getAdminstrationRealmprotected RealmModel getAdminstrationRealm(RealmManager realmManager) 
 - 
getMainPage@GET public javax.ws.rs.core.Response getMainPage() throws IOException, FreeMarkerExceptionMain page of this realm's admin console- Returns:
- Throws:
- URISyntaxException
- IOException
- FreeMarkerException
 
 - 
getIndexHtmlRedirect@GET @Path("{indexhtml: index.html}") public javax.ws.rs.core.Response getIndexHtmlRedirect()
 - 
getMessages@GET @Path("messages.json") @Produces("application/json") public Properties getMessages(@QueryParam("lang") String lang)
 
- 
 
-