KEYCLOAK-3108: Make the credentials map case insensitive
This commit is contained in:
parent
00b832b1cd
commit
9a2d36aa9d
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
|
||||
/**
|
||||
* Common Adapter configuration
|
||||
|
@ -58,7 +59,7 @@ public class BaseAdapterConfig extends BaseRealmConfig {
|
|||
@JsonProperty("public-client")
|
||||
protected boolean publicClient;
|
||||
@JsonProperty("credentials")
|
||||
protected Map<String, Object> credentials = new HashMap<>();
|
||||
protected Map<String, Object> credentials = new TreeMap<>(String.CASE_INSENSITIVE_ORDER);
|
||||
|
||||
|
||||
public boolean isUseResourceRoleMappings() {
|
||||
|
|
Loading…
Reference in a new issue