You can track the all the users in access.log who logged in to the website in AEM.
Is there any other way that you are trying to implement other than access.log?
Hope this thread may help you:
it talks about authenticate anonymous user on publish instance.
AEM functions the same no matter what app server is running it. For example, it will handle authentication the same way regardless if its running on WebSphere or WebLogic or other supported platforms.