package com.continuuity.security.server;

import com.sun.jersey.guice.JerseyServletModule;
import com.sun.jersey.guice.spi.container.servlet.GuiceContainer;

/**
 *
 */
public class SecurityHandlerModule extends JerseyServletModule {
  @Override
  protected void configureServlets() {
    bindings();
    filters();
  }

  private void bindings() {
    bind(BasicAuthenticationHandler.class);

  }
  private void filters() {
    filter("/v1/*").through(GuiceContainer.class);
  }
}

@@ -435,11 +435,8 @@
 r(%22/
-v1/
 *%22).

remove v1 in the filter path