Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
    • Highlighting:
      Hide

      debug = true

      Show
      debug = true
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Noncompliant Code Example

      import org.springframework.context.annotation.Configuration;
      import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
      
      @Configuration
      @EnableWebSecurity(debug = true) // Noncompliant
      public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
        // ...
      }
      

      Compliant Solution

      import org.springframework.context.annotation.Configuration;
      import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
      
      @Configuration
      @EnableWebSecurity(debug = false) // Compliant
      public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
        // ...
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alexandre.gigleux Alexandre Gigleux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: