Package org.pac4j.springframework.web
Class CallbackController
java.lang.Object
org.pac4j.springframework.web.CallbackController
This controller finishes the login process for an indirect client.
- Since:
- 1.0.0
- Author:
- Jerome Leleu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
callback
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
callbackWithClientName
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String cn) org.pac4j.core.engine.CallbackLogic
org.pac4j.core.config.Config
void
setCallbackLogic
(org.pac4j.core.engine.CallbackLogic callbackLogic) void
setConfig
(org.pac4j.core.config.Config config) void
setDefaultClient
(String client) void
setDefaultUrl
(String defaultUrl) void
setRenewSession
(Boolean renewSession)
-
Constructor Details
-
CallbackController
public CallbackController()
-
-
Method Details
-
callback
@RequestMapping("${pac4j.callback.path:/callback}") public void callback(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
callbackWithClientName
@RequestMapping("${pac4j.callback.path/{cn}:/callback/{cn}}") public void callbackWithClientName(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @PathVariable("cn") String cn) -
getDefaultUrl
-
setDefaultUrl
-
getCallbackLogic
public org.pac4j.core.engine.CallbackLogic getCallbackLogic() -
setCallbackLogic
public void setCallbackLogic(org.pac4j.core.engine.CallbackLogic callbackLogic) -
getRenewSession
-
setRenewSession
-
getDefaultClient
-
setDefaultClient
-
getConfig
public org.pac4j.core.config.Config getConfig() -
setConfig
public void setConfig(org.pac4j.core.config.Config config)
-