Package com.Server.security
Class AuthenticationEntryPointJwt
java.lang.Object
com.Server.security.AuthenticationEntryPointJwt
- All Implemented Interfaces:
org.springframework.security.web.AuthenticationEntryPoint
@Component
public class AuthenticationEntryPointJwt
extends java.lang.Object
implements org.springframework.security.web.AuthenticationEntryPoint
Class security use to AuthenticationEntryPoint
- Since:
- 2020-12-29.
- Version:
- 1.0
- Author:
- Krystian Cwioro Kamil Bieniasz Damian Mierzynski.
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.LoggerloggerLogger use to logger on server. -
Constructor Summary
Constructors Constructor Description AuthenticationEntryPointJwt() -
Method Summary
Modifier and Type Method Description voidcommence(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, org.springframework.security.core.AuthenticationException e)Method on AuthenticationEntryPointMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
logger
private static final org.slf4j.Logger loggerLogger use to logger on server.
-
-
Constructor Details
-
AuthenticationEntryPointJwt
public AuthenticationEntryPointJwt()
-
-
Method Details
-
commence
public void commence(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, org.springframework.security.core.AuthenticationException e) throws java.io.IOException, javax.servlet.ServletExceptionMethod on AuthenticationEntryPoint- Specified by:
commencein interfaceorg.springframework.security.web.AuthenticationEntryPoint- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-