Class LoginUser
java.lang.Object
net.lightapi.portal.user.query.handler.LoginUser
- All Implemented Interfaces:
com.networknt.rpc.HybridHandler
This endpoint is called from a customized authenticator from light-oauth2. It returns two values, user
id and roles in string after successfully authenticated from the user_t table.
The validatePassword method in HashUtil will be called to verify the password again the stored password
When a new user is registered, the verification flag is false. It will be updated to true only after the
email address is confirmed. We check the flag during the login so a user must have a valid email address.
- Author:
- Steve Hu
-
Field Summary
Fields inherited from interface com.networknt.rpc.HybridHandler
ERROR_NOT_DEFINED, logger, REQUEST_SUCCESS, STATUS_VALIDATION_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.networknt.rpc.HybridHandler
getStatus, getStatus, validate
-
Constructor Details
-
LoginUser
public LoginUser()
-
-
Method Details
-
handle
- Specified by:
handlein interfacecom.networknt.rpc.HybridHandler
-