KEYCLOAK-1295 Adapter support. Fixes
This commit is contained in:
1 parent
87f7ec5909
commit
d8d6348f67
64 files changed
+915
-661
No files matched your search
@@ -16,7 +16,7 @@ public class AbstractOAuthClient {
|
||||
private final AtomicLong counter = new AtomicLong();
|
||||
|
||||
protected String clientId;
|
||||
protected Map<String, String> credentials;
|
||||
protected Map<String, Object> credentials;
|
||||
protected String authUrl;
|
||||
protected String tokenUrl;
|
||||
protected RelativeUrlsUsed relativeUrlsUsed;
|
||||
@@ -37,11 +37,11 @@ public class AbstractOAuthClient {
|
||||
this.clientId = clientId;
|
||||
}
|
||||
|
||||
public Map<String, String> getCredentials() {
|
||||
public Map<String, Object> getCredentials() {
|
||||
return credentials;
|
||||
}
|
||||
|
||||
public void setCredentials(Map<String, String> credentials) {
|
||||
public void setCredentials(Map<String, Object> credentials) {
|
||||
this.credentials = credentials;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -39,7 +39,7 @@ public class BaseAdapterConfig extends BaseRealmConfig {
|
||||
@JsonProperty("public-client")
|
||||
protected boolean publicClient;
|
||||
@JsonProperty("credentials")
|
||||
protected Map<String, String> credentials = new HashMap<String, String>();
|
||||
protected Map<String, Object> credentials = new HashMap<>();
|
||||
|
||||
|
||||
public boolean isUseResourceRoleMappings() {
|
||||
@@ -114,11 +114,11 @@ public class BaseAdapterConfig extends BaseRealmConfig {
|
||||
this.enableBasicAuth = enableBasicAuth;
|
||||
}
|
||||
|
||||
public Map<String, String> getCredentials() {
|
||||
public Map<String, Object> getCredentials() {
|
||||
return credentials;
|
||||
}
|
||||
|
||||
public void setCredentials(Map<String, String> credentials) {
|
||||
public void setCredentials(Map<String, Object> credentials) {
|
||||
this.credentials = credentials;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user