docs: protected String encryptResolvedUsername(final Principal principal, final Service service, final RegisteredService registeredService, final String username) {
          val applicationContext = ApplicationContextProvider.getApplicationContext();
          val cipher = applicationContext.getBean("registeredServiceCipherExecutor", RegisteredServiceCipherExecutor.class);
          return cipher.encode(username, Optional.of(registeredService));
      }