@Path(value="/realms") public class RealmsResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.keycloak.common.ClientConnection |
clientConnection |
protected static ServicesLogger |
logger |
protected KeycloakSession |
session |
| Constructor and Description |
|---|
RealmsResource() |
| Modifier and Type | Method and Description |
|---|---|
static javax.ws.rs.core.UriBuilder |
accountUrl(javax.ws.rs.core.UriBuilder base) |
static javax.ws.rs.core.UriBuilder |
brokerUrl(javax.ws.rs.core.UriInfo uriInfo) |
static javax.ws.rs.core.UriBuilder |
clientRegistrationUrl(javax.ws.rs.core.UriInfo uriInfo) |
AccountService |
getAccountService(String name) |
IdentityBrokerService |
getBrokerService(String name) |
ClientsManagementService |
getClientsManagementService(String name) |
ClientRegistrationService |
getClientsService(String name) |
LoginActionsService |
getLoginActionsService(String name) |
Object |
getProtocol(String name,
String protocol) |
PublicRealmResource |
getRealmResource(String name) |
javax.ws.rs.core.Response |
getWellKnown(String name,
String providerName) |
static javax.ws.rs.core.UriBuilder |
protocolUrl(javax.ws.rs.core.UriBuilder builder) |
static javax.ws.rs.core.UriBuilder |
protocolUrl(javax.ws.rs.core.UriInfo uriInfo) |
static javax.ws.rs.core.UriBuilder |
realmBaseUrl(javax.ws.rs.core.UriBuilder baseUriBuilder) |
static javax.ws.rs.core.UriBuilder |
realmBaseUrl(javax.ws.rs.core.UriInfo uriInfo) |
Object |
resolveRealmExtension(String realmName,
String extension)
A JAX-RS sub-resource locator that uses the
RealmResourceSPI to resolve sub-resources instances given an unknownPath. |
protected static ServicesLogger logger
@Context protected KeycloakSession session
@Context protected org.keycloak.common.ClientConnection clientConnection
public static javax.ws.rs.core.UriBuilder realmBaseUrl(javax.ws.rs.core.UriInfo uriInfo)
public static javax.ws.rs.core.UriBuilder realmBaseUrl(javax.ws.rs.core.UriBuilder baseUriBuilder)
public static javax.ws.rs.core.UriBuilder accountUrl(javax.ws.rs.core.UriBuilder base)
public static javax.ws.rs.core.UriBuilder protocolUrl(javax.ws.rs.core.UriInfo uriInfo)
public static javax.ws.rs.core.UriBuilder protocolUrl(javax.ws.rs.core.UriBuilder builder)
public static javax.ws.rs.core.UriBuilder clientRegistrationUrl(javax.ws.rs.core.UriInfo uriInfo)
public static javax.ws.rs.core.UriBuilder brokerUrl(javax.ws.rs.core.UriInfo uriInfo)
@Path(value="{realm}/protocol/{protocol}")
public Object getProtocol(@PathParam(value="realm")
String name,
@PathParam(value="protocol")
String protocol)
@Path(value="{realm}/login-actions")
public LoginActionsService getLoginActionsService(@PathParam(value="realm")
String name)
@Path(value="{realm}/clients-registrations")
public ClientRegistrationService getClientsService(@PathParam(value="realm")
String name)
@Path(value="{realm}/clients-managements")
public ClientsManagementService getClientsManagementService(@PathParam(value="realm")
String name)
@Path(value="{realm}/account")
public AccountService getAccountService(@PathParam(value="realm")
String name)
@Path(value="{realm}")
public PublicRealmResource getRealmResource(@PathParam(value="realm")
String name)
@Path(value="{realm}/broker")
public IdentityBrokerService getBrokerService(@PathParam(value="realm")
String name)
@GET
@Path(value="{realm}/.well-known/{provider}")
@Produces(value="application/json")
public javax.ws.rs.core.Response getWellKnown(@PathParam(value="realm")
String name,
@PathParam(value="provider")
String providerName)
@Path(value="{realm}/{extension}")
public Object resolveRealmExtension(@PathParam(value="realm")
String realmName,
@PathParam(value="extension")
String extension)
RealmResourceSPI to resolve sub-resources instances given an unknownPath.extension - a path that could be to a REST extensionCopyright © 2016 JBoss by Red Hat. All rights reserved.