@Test public void testRegister() { UsernamePasswordAuthenticatorFactory authenticatorFactory = new UsernamePasswordAuthenticatorFactory(provider); authenticatorFactory.register(); assertTrue(provider.getRegisteredTypes().contains(authenticatorFactory.getName())); }
@Override public String getName() { return "userpass"; }
UsernamePasswordAuthenticatorFactory extends AbstractWebHookAuthenticatorFactory implements WebHookAuthenticatorFactory { @Override public String getName() { return "userpass"; } }
UsernamePasswordAuthenticatorFactory extends AbstractWebHookAuthenticatorFactory implements WebHookAuthenticatorFactory { @Override public String getName() { return "userpass"; } UsernamePasswordAuthenticatorFactory(WebHookAuthenticatorProvider provider); }
UsernamePasswordAuthenticatorFactory extends AbstractWebHookAuthenticatorFactory implements WebHookAuthenticatorFactory { @Override public String getName() { return "userpass"; } UsernamePasswordAuthenticatorFactory(WebHookAuthenticatorProvider provider); @Override String getName(); @Override String getDescription(); @Override WebHookAuthenticator getAuthenticatorInstance(); }
UsernamePasswordAuthenticatorFactory extends AbstractWebHookAuthenticatorFactory implements WebHookAuthenticatorFactory { @Override public String getName() { return "userpass"; } UsernamePasswordAuthenticatorFactory(WebHookAuthenticatorProvider provider); @Override String getName(); @Override String getDescription(); @Override WebHookAuthenticator getAuthenticatorInstance();  }