Class DevelopmentAuthenticationEntrypoint
java.lang.Object
com.aquima.web.boot.security.jwt.development.DevelopmentAuthenticationEntrypoint
- All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint
@Component
@Profile("development-tools")
public class DevelopmentAuthenticationEntrypoint
extends Object
implements org.springframework.security.web.AuthenticationEntryPoint
-
Constructor Summary
ConstructorsConstructorDescriptionDevelopmentAuthenticationEntrypoint
(Optional<LoginSuccessUriProvider> loginSuccessUriProvider, JwtAuthenticationProperties jwtAuthenticationProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoid
commence
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
-
Constructor Details
-
DevelopmentAuthenticationEntrypoint
public DevelopmentAuthenticationEntrypoint(Optional<LoginSuccessUriProvider> loginSuccessUriProvider, JwtAuthenticationProperties jwtAuthenticationProperties)
-
-
Method Details
-
commence
public void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException - Specified by:
commence
in interfaceorg.springframework.security.web.AuthenticationEntryPoint
- Throws:
IOException
-