public interface UserResolver
Userassociated to a Session. These is needed as
Sessionsdo not require a User associated to it nor does the it's User-Id require to provide a unique / useful identifier. If there is a User with a Session depends on the Repository's Configuration. Thus there may be cases, where no User can be resolved for a valid Session.
User resolveUser(Session session)
user-Idis required to be the same as the string entered with the login. The relation of this ID to a User depends on the Login-Module. As this is out of the scope of CQ, there are cases where the Session's user-id is not the same as the User's
session- to search user for it
nullif based on the Sessions User-ID can't be found
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"