public boolean doesPluginSupportPasswordBasedAuthentication(String pluginId) {
        if (!pluginInfos.containsKey(pluginId)) {
            return false;
        }

        return pluginInfos.get(pluginId).getCapabilities().getSupportedAuthType() == SupportedAuthType.Password;
    }
@Test
    public void shouldBeAbleToAnswerIfPluginSupportsPasswordBasedAuthentication() throws Exception {
        assertTrue(store.doesPluginSupportPasswordBasedAuthentication("password.plugin-2"));
        assertFalse(store.doesPluginSupportPasswordBasedAuthentication("web.plugin-1"));
    }