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

io.undertow.servlet.api.AuthMethodConfig Maven / Gradle / Ivy

There is a newer version: 2.3.18.Final
Show newest version
package io.undertow.servlet.api;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Stuart Douglas
 */
public class AuthMethodConfig implements Cloneable {

    private final String name;
    private final Map properties;

    public AuthMethodConfig(String name, Map properties) {
        this.name = name;
        this.properties = new HashMap(properties);
    }

    public AuthMethodConfig(String name) {
        this.name = name;
        this.properties = new HashMap();
    }

    public String getName() {
        return name;
    }

    public Map getProperties() {
        return properties;
    }

    @Override
    public AuthMethodConfig clone() {
        return new AuthMethodConfig(name, properties);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy