Checks if a user is authorized to establish a session.
- Parameters
-
userId | The user ID. |
password | The user's password. |
context | The request context. |
- Returns
- A future that becomes available when the invocation completes. This future holds:
- returnValue true if access is granted, false otherwise.
- reason The reason why access was denied.