io.undertow.servlet.api.AuthMethodConfig Maven / Gradle / Ivy
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