mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-06 23:19:35 -05:00
Add clearUpdatedFlag so the flag in associated protocol mappers can be cleared as well
Closes #11118
This commit is contained in:
committed by
Hynek Mlnařík
parent
1f2ebf4cba
commit
d952669f69
@@ -62,6 +62,12 @@ public interface MapClientEntity extends AbstractEntity, UpdatableEntity, Entity
|
||||
|| Optional.ofNullable(getProtocolMappers()).orElseGet(Collections::emptyMap).values().stream().anyMatch(MapProtocolMapperEntity::isUpdated);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clearUpdatedFlag() {
|
||||
this.updated = false;
|
||||
Optional.ofNullable(getProtocolMappers()).orElseGet(Collections::emptyMap).values().forEach(UpdatableEntity::clearUpdatedFlag);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Stream<String> getClientScopes(boolean defaultScope) {
|
||||
final Map<String, Boolean> clientScopes = getClientScopes();
|
||||
|
||||
Reference in New Issue
Block a user