docs: protected AuthenticationHandlerExecutionResult createAuthenticatedSubjectResult(final Credential credential, final Subject currentUser) {
          val username = currentUser.getPrincipal().toString();
          return createHandlerResult(credential, this.principalFactory.createPrincipal(username));
      }