@Test public void testPatternPropertyWithNoCorrespondingValueProperty() { Properties properties = new Properties(); properties.setProperty("nifi.security.identity.mapping.pattern.dn", ""); final NiFiProperties nifiProperties = getNiFiProperties(properties); TestableNiFiAuthenticationProvider provider = new TestableNiFiAuthenticationProvider(nifiProperties); List<IdentityMapping> mappings = provider.getMappings(); assertEquals(0, mappings.size()); }
public List<IdentityMapping> getMappings() { return mappings; }
NiFiAuthenticationProvider implements AuthenticationProvider { public List<IdentityMapping> getMappings() { return mappings; } }
NiFiAuthenticationProvider implements AuthenticationProvider { public List<IdentityMapping> getMappings() { return mappings; } NiFiAuthenticationProvider(final NiFiProperties properties); }
NiFiAuthenticationProvider implements AuthenticationProvider { public List<IdentityMapping> getMappings() { return mappings; } NiFiAuthenticationProvider(final NiFiProperties properties); List<IdentityMapping> getMappings(); }
NiFiAuthenticationProvider implements AuthenticationProvider { public List<IdentityMapping> getMappings() { return mappings; } NiFiAuthenticationProvider(final NiFiProperties properties); List<IdentityMapping> getMappings();  }