public class KeycloakServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
HAWTIO_KEYCLOAK_CLIENT_CONFIG |
static String |
KEYCLOAK_CLIENT_CONFIG |
Constructor and Description |
---|
KeycloakServlet() |
Modifier and Type | Method and Description |
---|---|
protected String |
defaultKeycloakConfigLocation()
Will try to guess the config location based on the server where hawtio is running.
|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init() |
protected boolean |
validateKeycloakUser(javax.servlet.http.HttpServletRequest request,
String keycloakUser) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static final String KEYCLOAK_CLIENT_CONFIG
public static final String HAWTIO_KEYCLOAK_CLIENT_CONFIG
public void init()
init
in class javax.servlet.GenericServlet
protected String defaultKeycloakConfigLocation()
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected boolean validateKeycloakUser(javax.servlet.http.HttpServletRequest request, String keycloakUser)
Copyright © 2022 JBoss by Red Hat. All rights reserved.