Class AuthCallbackServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.openmetadata.service.security.AuthCallbackServlet
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@WebServlet("/callback")
public class AuthCallbackServlet
extends javax.servlet.http.HttpServlet
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthCallbackServlet(org.pac4j.oidc.client.OidcClient oidcClient, AuthenticationConfiguration authenticationConfiguration, AuthorizerConfiguration authorizerConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.nimbusds.oauth2.sdk.TokenRequestcreateTokenRequest(com.nimbusds.oauth2.sdk.AuthorizationGrant grant) protected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) retrieveParameters(javax.servlet.http.HttpServletRequest request) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
AuthCallbackServlet
public AuthCallbackServlet(org.pac4j.oidc.client.OidcClient oidcClient, AuthenticationConfiguration authenticationConfiguration, AuthorizerConfiguration authorizerConfiguration)
-
-
Method Details
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) - Overrides:
doGetin classjavax.servlet.http.HttpServlet
-
retrieveParameters
-
createTokenRequest
protected com.nimbusds.oauth2.sdk.TokenRequest createTokenRequest(com.nimbusds.oauth2.sdk.AuthorizationGrant grant)
-