2015-02-20 14:22:49 +00:00
|
|
|
package org.keycloak.protocol;
|
|
|
|
|
|
|
|
import org.keycloak.provider.Provider;
|
|
|
|
import org.keycloak.provider.ProviderFactory;
|
|
|
|
|
2015-02-21 15:26:55 +00:00
|
|
|
import java.util.List;
|
|
|
|
|
2015-02-20 14:22:49 +00:00
|
|
|
/**
|
|
|
|
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
|
|
|
|
* @version $Revision: 1 $
|
|
|
|
*/
|
|
|
|
public interface ProtocolMapper extends Provider, ProviderFactory<ProtocolMapper> {
|
|
|
|
String getProtocol();
|
2015-02-27 23:21:42 +00:00
|
|
|
String getDisplayCategory();
|
2015-02-20 14:22:49 +00:00
|
|
|
String getDisplayType();
|
2015-02-27 23:21:42 +00:00
|
|
|
String getHelpText();
|
2015-02-21 15:26:55 +00:00
|
|
|
|
|
|
|
public static class ConfigProperty {
|
2015-03-03 02:39:43 +00:00
|
|
|
public static final String BOOLEAN_TYPE="boolean";
|
|
|
|
public static final String STRING_TYPE="String";
|
|
|
|
|
2015-02-21 15:26:55 +00:00
|
|
|
protected String name;
|
|
|
|
protected String label;
|
|
|
|
protected String helpText;
|
2015-03-03 02:39:43 +00:00
|
|
|
protected String type;
|
|
|
|
protected String defaultValue;
|
2015-02-21 15:26:55 +00:00
|
|
|
|
|
|
|
public String getName() {
|
|
|
|
return name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setName(String name) {
|
|
|
|
this.name = name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLabel() {
|
|
|
|
return label;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLabel(String label) {
|
|
|
|
this.label = label;
|
|
|
|
}
|
|
|
|
|
2015-03-03 02:39:43 +00:00
|
|
|
public String getType() {
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setType(String type) {
|
|
|
|
this.type = type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDefaultValue() {
|
|
|
|
return defaultValue;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDefaultValue(String defaultValue) {
|
|
|
|
this.defaultValue = defaultValue;
|
|
|
|
}
|
|
|
|
|
2015-02-21 15:26:55 +00:00
|
|
|
public String getHelpText() {
|
|
|
|
return helpText;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setHelpText(String helpText) {
|
|
|
|
this.helpText = helpText;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
List<ConfigProperty> getConfigProperties();
|
2015-02-20 14:22:49 +00:00
|
|
|
}
|