net.continuumsecurity.proxy.model.AuthenticationMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atf-toolbox Show documentation
Show all versions of atf-toolbox Show documentation
Automation Testing Framework Toolbox Provides simple automation.
The newest version!
package net.continuumsecurity.proxy.model;
import java.util.ArrayList;
import java.util.List;
/**
* Authentication methods supported by ZAP.
*/
public enum AuthenticationMethod {
FORM_BASED_AUTHENTICATION("formBasedAuthentication"),
HTTP_AUTHENTICATION("httpAuthentication"),
MANUAL_AUTHENTICATION("manualAuthentication"),
SCRIPT_BASED_AUTHENTICATION("scriptBasedAuthentication");
private String value;
public String getValue() {
return value;
}
AuthenticationMethod(String authenticationMethod) {
this.value = authenticationMethod;
}
public static List getValues() {
List values = new ArrayList();
for (AuthenticationMethod authenticationMethod : AuthenticationMethod.values()) {
values.add(authenticationMethod.getValue());
}
return values;
}
}