Class SecurityConfiguration

  • All Implemented Interfaces:
    org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,​org.springframework.security.config.annotation.web.builders.WebSecurity>, org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>

    @EnableWebSecurity
    @EnableGlobalMethodSecurity(prePostEnabled=true,
                                securedEnabled=true)
    @Import(org.zalando.problem.spring.web.advice.security.SecurityProblemSupport.class)
    public class SecurityConfiguration
    extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
    • Constructor Summary

      Constructors 
      Constructor Description
      SecurityConfiguration​(TokenProvider tokenProvider, tech.jhipster.config.JHipsterProperties jHipsterProperties, org.zalando.problem.spring.web.advice.security.SecurityProblemSupport problemSupport)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)  
      • Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter

        authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
    • Constructor Detail

      • SecurityConfiguration

        public SecurityConfiguration​(TokenProvider tokenProvider,
                                     tech.jhipster.config.JHipsterProperties jHipsterProperties,
                                     org.zalando.problem.spring.web.advice.security.SecurityProblemSupport problemSupport)
    • Method Detail

      • configure

        public void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                       throws Exception
        Overrides:
        configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
        Throws:
        Exception