Package org.keycloak.services.resources
Class PublicRealmResource
java.lang.Object
org.keycloak.services.resources.PublicRealmResource
Resource class for public realm information
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final org.jboss.logging.Logger
protected final RealmModel
protected final HttpRequest
protected final HttpResponse
protected final KeycloakSession
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
CORS preflightgetRealm()
Public information about the realm.static PublishedRealmRepresentation
realmRep
(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
logger
protected static final org.jboss.logging.Logger logger -
request
-
response
-
session
-
realm
-
-
Constructor Details
-
PublicRealmResource
-
-
Method Details
-
accountPreflight
@Path("/") @OPTIONS public jakarta.ws.rs.core.Response accountPreflight()CORS preflight- Returns:
-
getRealm
Public information about the realm.- Returns:
-
realmRep
public static PublishedRealmRepresentation realmRep(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo)
-