Class LDAuthenticationSuccessHandler
java.lang.Object
org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
com.logicaldoc.core.security.spring.LDAuthenticationSuccessHandler
- All Implemented Interfaces:
- org.springframework.security.web.authentication.AuthenticationSuccessHandler
public class LDAuthenticationSuccessHandler
extends org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
This handler gets the j_successurl request parameter and use it's value to
 redirect the user after a successful login.
- Since:
- 7.5
- Author:
- Marco Meschieri - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidonAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) Methods inherited from class org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandlersetRequestCacheMethods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandlersetAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseRefererMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandleronAuthenticationSuccess
- 
Constructor Details- 
LDAuthenticationSuccessHandlerpublic LDAuthenticationSuccessHandler()
 
- 
- 
Method Details- 
onAuthenticationSuccesspublic void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, jakarta.servlet.ServletException - Specified by:
- onAuthenticationSuccessin interface- org.springframework.security.web.authentication.AuthenticationSuccessHandler
- Overrides:
- onAuthenticationSuccessin class- org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
- Throws:
- IOException
- jakarta.servlet.ServletException
 
 
-