Class JWTConfigurer

  • All Implemented Interfaces:
    org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,​org.springframework.security.config.annotation.web.builders.HttpSecurity>

    public class JWTConfigurer
    extends org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,​org.springframework.security.config.annotation.web.builders.HttpSecurity>
    • Constructor Detail

      • JWTConfigurer

        public JWTConfigurer​(TokenProvider tokenProvider)
    • Method Detail

      • configure

        public void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
        Specified by:
        configure in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,​org.springframework.security.config.annotation.web.builders.HttpSecurity>
        Overrides:
        configure in class org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,​org.springframework.security.config.annotation.web.builders.HttpSecurity>