All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.continuumsecurity.proxy.model.AuthenticationMethod Maven / Gradle / Ivy

There is a newer version: 5.1.4
Show 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy