use of org.zaproxy.zap.authentication.ManualAuthenticationMethodType in project zaproxy by zaproxy.
the class ExtensionAuthentication method loadAuthenticationMethodTypes.
/**
* Loads the authentication method types and hooks them up.
*
* @param hook the extension hook
*/
private void loadAuthenticationMethodTypes(ExtensionHook hook) {
this.authenticationMethodTypes.add(new FormBasedAuthenticationMethodType());
this.authenticationMethodTypes.add(new HttpAuthenticationMethodType());
this.authenticationMethodTypes.add(new ManualAuthenticationMethodType());
this.authenticationMethodTypes.add(new ScriptBasedAuthenticationMethodType());
this.authenticationMethodTypes.add(new JsonBasedAuthenticationMethodType());
for (AuthenticationMethodType a : authenticationMethodTypes) {
a.hook(hook);
}
if (log.isInfoEnabled()) {
log.info("Loaded authentication method types: " + authenticationMethodTypes);
}
}
Aggregations