Package org.pac4j.undertow.handler
Class CallbackHandler
java.lang.Object
org.pac4j.undertow.handler.CallbackHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
This filter finishes the login process for an indirect client.
- Since:
- 1.0.0
- Author:
- Jerome Leleu, Michaƫl Remond
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCallbackHandler(org.pac4j.core.config.Config config, String defaultUrl) -
Method Summary
Modifier and TypeMethodDescriptionstatic io.undertow.server.HttpHandlerbuild(org.pac4j.core.config.Config config) static io.undertow.server.HttpHandlerstatic io.undertow.server.HttpHandlerbuild(org.pac4j.core.config.Config config, String defaultUrl, org.pac4j.core.engine.CallbackLogic callbackLogic) protected org.pac4j.core.engine.CallbackLogicvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) protected voidsetCallbackLogic(org.pac4j.core.engine.CallbackLogic callbackLogic) voidsetDefaultClient(String defaultClient) voidsetDefaultUrl(String defaultUrl) voidsetRenewSession(Boolean renewSession)
-
Constructor Details
-
CallbackHandler
-
-
Method Details
-
build
public static io.undertow.server.HttpHandler build(org.pac4j.core.config.Config config) -
build
public static io.undertow.server.HttpHandler build(org.pac4j.core.config.Config config, String defaultUrl) -
build
public static io.undertow.server.HttpHandler build(org.pac4j.core.config.Config config, String defaultUrl, org.pac4j.core.engine.CallbackLogic callbackLogic) -
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) - Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler
-
getCallbackLogic
protected org.pac4j.core.engine.CallbackLogic getCallbackLogic() -
setCallbackLogic
protected void setCallbackLogic(org.pac4j.core.engine.CallbackLogic callbackLogic) -
getDefaultUrl
-
setDefaultUrl
-
getRenewSession
-
setRenewSession
-
getDefaultClient
-
setDefaultClient
-