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, servicepublic static final String KEYCLOAK_CLIENT_CONFIG
public static final String HAWTIO_KEYCLOAK_CLIENT_CONFIG
public void init()
init in class javax.servlet.GenericServletprotected 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.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected boolean validateKeycloakUser(javax.servlet.http.HttpServletRequest request,
String keycloakUser)
Copyright © 2020 JBoss by Red Hat. All rights reserved.