test_class.file: stagemonitor-web-servlet/src/test/java/org/stagemonitor/web/servlet/filter/StagemonitorSecurityFilterTest.java
test_class.identifier: StagemonitorSecurityFilterTest
test_case.body: @Test
  	public void testStagemonitorSecurityFilter() throws Exception {
  		//         url                            password   widget     header      req attr    allowed
  		testFilter("/stagemonitor/public",        null,      true,      null,       null,       true);
  		testFilter("/stagemonitor/foo",           null,      true,      null,       null,       true);
  
  		testFilter("/stagemonitor/public",        "",        true,      null,       null,       true);
  		testFilter("/stagemonitor/foo",           "",        true,      null,       null,       true);
  
  		testFilter("/stagemonitor/public",        "",        false,     null,       null,       true);
  		testFilter("/stagemonitor/foo",           "",        false,     null,       null,       true);
  		testFilter("/stagemonitor/foo",           "",        false,     "pw",       null,       true);
  
  		testFilter("/stagemonitor/public",        "pw",      true,      null,       null,       true);
  		testFilter("/stagemonitor/foo",           "pw",      true,      null,       null,       true);
  
  		testFilter("/stagemonitor/public",        "pw",      false,     null,       null,       true);
  		testFilter("/stagemonitor/foo",           "pw",      false,     null,       null,       false);
  		testFilter("/stagemonitor/foo",           "pw",      false,     "wp",       null,       false);
  
  		testFilter("/stagemonitor/foo",           "pw",      false,     "pw",       null,       true);
  		testFilter("/stagemonitor/foo",           "pw",      false,     null,       true,       true);
  		testFilter("/stagemonitor/foo",           "pw",      true,      null,       null,       true);
  
  		testFilter("/stagemonitor/foo",           "pw",      false,     null,       false,      false);
  		testFilter("/stagemonitor/foo",           "pw",      false,     "pw",       false,      false);
  		testFilter("/stagemonitor/foo",           "pw",      true,      null,       false,      false);
  		testFilter("/stagemonitor/foo",           "",        true,      null,       false,      false);
  		testFilter("/stagemonitor/foo",           null,      true,      null,       false,      false);
  
  		testFilter("/stagemonitor/public/bar",    "pw",      false,     null,       false,      true);
  		testFilter("/stagemonitor/public/bar",    "pw",      false,     "pw",       false,      true);
  		testFilter("/stagemonitor/public/bar",    "pw",      true,      null,       false,      true);
  		testFilter("/stagemonitor/public/bar",    "",        true,      null,       false,      true);
  		testFilter("/stagemonitor/public/bar",    null,      true,      null,       false,      true);
  	}
test_case.class_method_signature: StagemonitorSecurityFilterTest.testStagemonitorSecurityFilter()
test_case.full_signature: @Test public void testStagemonitorSecurityFilter()
test_case.identifier: testStagemonitorSecurityFilter
test_case.invocations: testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter testFilter
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStagemonitorSecurityFilter()
focal_class.declarator: servletPlugin
focal_class.modifier: private final
focal_class.original_string: private final ServletPlugin servletPlugin;
focal_class.type: ServletPlugin
focal_class.var_name: servletPlugin
focal_class.file: stagemonitor-web-servlet/src/main/java/org/stagemonitor/web/servlet/filter/StagemonitorSecurityFilter.java
focal_class.identifier: StagemonitorSecurityFilter
focal_class.class_method_signature: StagemonitorSecurityFilter.StagemonitorSecurityFilter()
focal_class.full_signature: public  StagemonitorSecurityFilter()
focal_class.identifier: StagemonitorSecurityFilter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  StagemonitorSecurityFilter()
focal_class.class_method_signature: StagemonitorSecurityFilter.StagemonitorSecurityFilter(ConfigurationRegistry configuration)
focal_class.full_signature: public  StagemonitorSecurityFilter(ConfigurationRegistry configuration)
focal_class.identifier: StagemonitorSecurityFilter
focal_class.modifiers: public
focal_class.parameters: (ConfigurationRegistry configuration)
focal_class.signature:  StagemonitorSecurityFilter(ConfigurationRegistry configuration)
focal_class.class_method_signature: StagemonitorSecurityFilter.doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
focal_class.full_signature: @Override public void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
focal_class.identifier: doFilterInternal
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletRequest request, HttpServletResponse response, FilterChain chain)
focal_class.return: void
focal_class.signature: void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
focal_class.superclass: extends AbstractExclusionFilter
focal_method.body: public StagemonitorSecurityFilter() {
  		this(Stagemonitor.getConfiguration());
  	}
focal_method.class_method_signature: StagemonitorSecurityFilter.StagemonitorSecurityFilter()
focal_method.full_signature: public  StagemonitorSecurityFilter()
focal_method.identifier: StagemonitorSecurityFilter
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.signature:  StagemonitorSecurityFilter()