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.Logger logger
    Logger use to logger on server.
  • Constructor Summary

    Constructors
    Constructor Description
    AuthenticationEntryPointJwt()  
  • Method Summary

    Modifier and Type Method Description
    void commence​(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, org.springframework.security.core.AuthenticationException e)
    Method on AuthenticationEntryPoint

    Methods 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 logger
      Logger 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.ServletException
      Method on AuthenticationEntryPoint
      Specified by:
      commence in interface org.springframework.security.web.AuthenticationEntryPoint
      Throws:
      java.io.IOException
      javax.servlet.ServletException