title: Togglz returns a 403 on feature toggle
body: <p>I have implemented togglz into my spring boot application. I can even access the Togglz console, and I have tested the restrictions with the FeatureManager. However, if I go to the togglz console and try to change the activation strategy or enable/disable a feature, I get a 403 Forbidden error page.</p>
  
  <p>In other words, I can access /togglz/index but I cannot access/call /togglz/edit</p>
  
  <p>In my WebMvcConfigurer class:</p>
  
  <pre><code>@Bean
  public FilterRegistrationBean&lt;TogglzFilter&gt; togglzRegistration() {
      FilterRegistrationBean&lt;TogglzFilter&gt; reg = new FilterRegistrationBean&lt;&gt;();
      reg.setFilter(new TogglzFilter());
      reg.addUrlPatterns("/*");
      reg.setName("TogglzFilter");
      return reg;
  }
  
  @Bean
  public ServletRegistrationBean&lt;TogglzConsoleServlet&gt; togglzConsoleServlet() {
      ServletRegistrationBean&lt;TogglzConsoleServlet&gt; reg = new ServletRegistrationBean&lt;&gt;();
      reg.setServlet(new TogglzConsoleServlet());
      reg.setName("TogglzConsoleServlet");
      reg.addUrlMappings("/togglz/*");
      return reg;
  }
  </code></pre>
  
  <p>In my TogglzConfiguration:</p>
  
  <pre><code>@Component
  public class TogglzConfiguration implements TogglzConfig {
  private static final Logger LOGGER = LoggerFactory.getLogger(TogglzConfiguration.class);
  
  @Autowired
  private ResourceLoader resourceLoader;
  
  @Override
  public Class&lt;? extends Feature&gt; getFeatureClass() {
      return Features.class;
  }
  
  @Override
  public StateRepository getStateRepository() {
      try {
          return new FileBasedStateRepository(
                  resourceLoader.getResource("classpath:/togglz.properties").getFile()
                  );
      } catch (IOException ex) {
          LOGGER.error(ex.getMessage(),ex);
          throw new RuntimeException(ex);
      }
  
  }
  
  @Override
  public UserProvider getUserProvider() {
  
      return new UserProvider() {
          @Override
          public FeatureUser getCurrentUser() {
                  return new SimpleFeatureUser("admin", true);
          }
      };
  }
  
  
  }
  </code></pre>
  
  <p>My Features class:</p>
  
  <pre><code>public enum Features implements Feature {
  
  @Label("Inventory Initiation")
  @TestingUI
  TESTING_UI_INITIATE_INVENTORY,
  
  @Label("Random Warehouse Creation")
  @TestingUI
  TESTING_UI_CREATE_WAREHOUSE
  ;
  
  
  public boolean isActive() {
      return FeatureContext.getFeatureManager().isActive(this);
  }
  
  }
  </code></pre>