Package com.wavemaker.runtime.security
Class WMAuthenticationEntryPoint
java.lang.Object
org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
com.wavemaker.runtime.security.WMAuthenticationEntryPoint
- All Implemented Interfaces:
FormLoginEntryPoint,org.springframework.beans.factory.InitializingBean,org.springframework.security.web.AuthenticationEntryPoint
public class WMAuthenticationEntryPoint
extends org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
implements FormLoginEntryPoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcommence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) Methods inherited from class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
afterPropertiesSet, buildHttpsRedirectUrlForRequest, buildRedirectUrlToLoginPage, determineUrlToUseForThisRequest, getLoginFormUrl, getPortMapper, getPortResolver, isForceHttps, isUseForward, setFavorRelativeUris, setForceHttps, setPortMapper, setPortResolver, setUseForward
-
Constructor Details
-
WMAuthenticationEntryPoint
- Parameters:
loginFormUrl- URL where the login page can be found. Should either be relative to the web-app context path (include a leading/) or an absolute URL.
-
-
Method Details
-
commence
public void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException, jakarta.servlet.ServletException - Specified by:
commencein interfaceorg.springframework.security.web.AuthenticationEntryPoint- Overrides:
commencein classorg.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint- Throws:
IOExceptionjakarta.servlet.ServletException
-