Package com.day.cq.security
Interface UserResolver
-
public interface UserResolver
Deprecated.cq 5.5Small Interface to register and retrieve a Service resolving theUser
associated to a Session. These is needed asSessions
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.- See Also:
Session.getUserID()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description User
resolveUser(Session session)
Deprecated.Resolve the User based on a Session.
-
-
-
Method Detail
-
resolveUser
User resolveUser(Session session)
Deprecated.Resolve the User based on a Session. The Session'suser-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'sid
.- Parameters:
session
- to search user for it- Returns:
- User or
null
if based on the Sessions User-ID can't be found
-
-