Class SimpleAuthenticationEntryPoint
java.lang.Object
com.erudika.para.server.security.SimpleAuthenticationEntryPoint
Authentication entry point.
- Author:
- Alex Bogdanovski [[email protected]]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcommence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) voidsetFavorRelativeUris(boolean arg0) voidsetForceHttps(boolean arg0) voidsetPortMapper(org.springframework.security.web.PortMapper arg0) voidsetPortResolver(org.springframework.security.web.PortResolver arg0) Deprecated, for removal: This API element is subject to removal in a future version.voidsetUseForward(boolean arg0)
-
Constructor Details
-
SimpleAuthenticationEntryPoint
Default constructor.- Parameters:
loginFormUrl- url of the login page e.g. "/login.html"
-
-
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 - Throws:
IOExceptionjakarta.servlet.ServletException
-
afterPropertiesSet
public void afterPropertiesSet() -
setForceHttps
public void setForceHttps(boolean arg0) -
getLoginFormUrl
-
setPortMapper
public void setPortMapper(org.springframework.security.web.PortMapper arg0) -
setPortResolver
@Deprecated(forRemoval=true) public void setPortResolver(org.springframework.security.web.PortResolver arg0) Deprecated, for removal: This API element is subject to removal in a future version. -
setUseForward
public void setUseForward(boolean arg0) -
setFavorRelativeUris
public void setFavorRelativeUris(boolean arg0)
-