I think now we have the solution for this. Now dispatcher also maintains
a corresponding header file (*.h) to store the headers. I know it's too
late to put this comment as this is a kind of basic feature everybody is
aware of. Even I wasn't aware that we have this type of issue in past.
But I am still having a pain point in using this Last-Modified
header/property and a deep search for that one leads me here. The issue
is that how can we use this property in the case of multiple publishers.
This is what documentation says. But actually the path which will be
used to create the user will be from the corresponding sync handler.
(Also, I agree to the point that AEM automatically creates the
corresponding config, but in my case I want to add it manually).
I have integrated a Google OAuth2 provider with AEM 6.5 OAuth
authentication handler. There is a method named getUserFolderPath in
Provider interface which should be used to get the folder path under
which the user should be created. I noticed that this method is never
been called and instead "user.pathPrefix" property is used to get the
folder path which automatically appends the first 4 chars of the user ID
internally. I am not able to get the need of Sync handler for OAuth and
how can I chang...