public class AdminConsole extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AdminConsole.WhoAmI |
| Modifier and Type | Field and Description |
|---|---|
protected AppAuthManager |
authManager |
protected org.keycloak.common.ClientConnection |
clientConnection |
protected KeycloakApplication |
keycloak |
protected static org.jboss.logging.Logger |
logger |
protected javax.ws.rs.ext.Providers |
providers |
protected RealmModel |
realm |
protected org.jboss.resteasy.spi.HttpRequest |
request |
protected org.jboss.resteasy.spi.HttpResponse |
response |
protected KeycloakSession |
session |
protected javax.ws.rs.core.UriInfo |
uriInfo |
| Constructor and Description |
|---|
AdminConsole(RealmModel realm) |
| Modifier and Type | Method and Description |
|---|---|
ClientManager.InstallationAdapterConfig |
config()
Adapter configuration for the admin console for this realm
|
protected RealmModel |
getAdminstrationRealm(RealmManager realmManager) |
javax.ws.rs.core.Response |
getIndexHtmlRedirect() |
javax.ws.rs.core.Response |
getMainPage()
Main page of this realm's admin console
|
Properties |
getMessages(String lang) |
javax.ws.rs.core.Response |
logout()
Logout from the admin console
|
javax.ws.rs.core.Response |
whoAmI(javax.ws.rs.core.HttpHeaders headers)
Permission information
|
protected static final org.jboss.logging.Logger logger
@Context protected javax.ws.rs.core.UriInfo uriInfo
@Context protected org.keycloak.common.ClientConnection clientConnection
@Context protected org.jboss.resteasy.spi.HttpRequest request
@Context protected org.jboss.resteasy.spi.HttpResponse response
@Context protected KeycloakSession session
@Context protected javax.ws.rs.ext.Providers providers
@Context protected KeycloakApplication keycloak
protected AppAuthManager authManager
protected RealmModel realm
public AdminConsole(RealmModel realm)
public ClientManager.InstallationAdapterConfig config()
public javax.ws.rs.core.Response whoAmI(@Context
javax.ws.rs.core.HttpHeaders headers)
headers - public javax.ws.rs.core.Response logout()
protected RealmModel getAdminstrationRealm(RealmManager realmManager)
public javax.ws.rs.core.Response getMainPage()
throws URISyntaxException,
IOException,
FreeMarkerException
URISyntaxExceptionIOExceptionFreeMarkerExceptionpublic javax.ws.rs.core.Response getIndexHtmlRedirect()
public Properties getMessages(String lang)
Copyright © 2016 JBoss by Red Hat. All rights reserved.