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

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