public class PublicRealmResource extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
logger |
protected RealmModel |
realm |
protected org.jboss.resteasy.spi.HttpRequest |
request |
protected org.jboss.resteasy.spi.HttpResponse |
response |
protected KeycloakSession |
session |
Constructor and Description |
---|
PublicRealmResource(RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
accountPreflight()
CORS preflight
|
PublishedRealmRepresentation |
getRealm()
Public information about the realm.
|
static PublishedRealmRepresentation |
realmRep(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo) |
protected static final org.jboss.logging.Logger logger
@Context protected org.jboss.resteasy.spi.HttpRequest request
@Context protected org.jboss.resteasy.spi.HttpResponse response
@Context protected KeycloakSession session
protected RealmModel realm
public PublicRealmResource(RealmModel realm)
@Path(value="/") @OPTIONS public javax.ws.rs.core.Response accountPreflight()
@GET @Produces(value="application/json") public PublishedRealmRepresentation getRealm()
public static PublishedRealmRepresentation realmRep(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2021 JBoss by Red Hat. All rights reserved.