parent
28975b950d
commit
5252992384
1 changed files with 16 additions and 2 deletions
|
@ -226,7 +226,14 @@ public class ClientEntity {
|
|||
}
|
||||
|
||||
public void setWebOrigins(Set<String> webOrigins) {
|
||||
this.webOrigins = webOrigins;
|
||||
// Workaround to avoid a problem in Hibernate 6.2.CR3: https://hibernate.atlassian.net/browse/HHH-16337
|
||||
// Tracked via GitHub issue: https://github.com/keycloak/keycloak/issues/19162
|
||||
if (this.webOrigins != null) {
|
||||
this.webOrigins.clear();
|
||||
this.webOrigins.addAll(webOrigins);
|
||||
} else {
|
||||
this.webOrigins = webOrigins;
|
||||
}
|
||||
}
|
||||
|
||||
public Set<String> getRedirectUris() {
|
||||
|
@ -237,7 +244,14 @@ public class ClientEntity {
|
|||
}
|
||||
|
||||
public void setRedirectUris(Set<String> redirectUris) {
|
||||
this.redirectUris = redirectUris;
|
||||
// Workaround to avoid a problem in Hibernate 6.2.CR3: https://hibernate.atlassian.net/browse/HHH-16337
|
||||
// Tracked via GitHub issue: https://github.com/keycloak/keycloak/issues/19162
|
||||
if (this.redirectUris != null) {
|
||||
this.redirectUris.clear();
|
||||
this.redirectUris.addAll(redirectUris);
|
||||
} else {
|
||||
this.redirectUris = redirectUris;
|
||||
}
|
||||
}
|
||||
|
||||
public String getClientAuthenticatorType() {
|
||||
|
|
Loading…
Reference in a new issue