docs: protected static boolean locateMatchingCredentialType(final Authentication authentication, final String credentialClassType) {
          return StringUtils.isNotBlank(credentialClassType) && authentication.getCredentials()
              .stream()
              .anyMatch(e -> e.getCredentialClass().getName().matches(credentialClassType));
      }