rmannibucau commented on code in PR #3276:
URL: https://github.com/apache/polaris/pull/3276#discussion_r2622762224


##########
runtime/service/src/main/java/org/apache/polaris/service/admin/PolarisServiceImpl.java:
##########
@@ -137,13 +137,15 @@ public Response createCatalog(
   }
 
   private void validateClientId(String clientId) {
-    if (!clientId.matches("^[0-9a-f]{16}$")) {
+    if (!clientId.matches(
+        
realmConfig.getConfig(FeatureConfiguration.CREDENTIAL_RESET_CLIENT_ID_PATTERN)))
 {

Review Comment:
   Hmm, it will be per realm so no sure it can be done at startup properly, do 
you have a code pointer in mind? would bootstrap realm fulfill your expectation?
   
   default is known valid - same as before, it is hardcoded
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to