public interface UserResolver
User
associated to a Session.
These is needed as Sessions
do 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.javax.jcr.Session#getUserID()
Modifier and Type | Method and Description |
---|---|
User |
resolveUser(Session session)
Deprecated.
Resolve the User based on a Session.
|
User resolveUser(Session session)
user-Id
is 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 id
.
session
- to search user for itnull
if based on the Sessions User-ID can't be found"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"