public interface AuthenticationIntf
| Modifier and Type | Method and Description |
|---|---|
void |
changeEmail(String aLoginId,
String aNewEmail)
Change the email address of a logged in user.
|
void |
changeFromTemporaryPassword(PasswordRequestIntf aPasswordRequest)
Change the user's password from a temporary password to a new (permanent) password.
|
void |
changePassword(PasswordRequestIntf aPasswordRequest)
Change the password for a logged in user.
|
void |
createNewUser(UserIntf anUserIntf)
Create a new user.
|
void |
deleteUser(String aLoginId,
String aPassword)
Delete a user.
|
UserIntf |
findUserByEmailAddr(String anEmail)
Find a user by email address.
|
void |
forgotPassword(String aLoginId)
Support for resetting the user's password in the event that it was forgotten.
|
UserIntf |
getUserInfo(String aLoginId)
Get the information associated with the user.
|
boolean |
hasUser(String aLoginId)
Determine whether a user with userName exists in the login database.
|
void |
resetPassword(PasswordRequestIntf aResetRequest)
Reset a user's password using an authentication code.
|
void |
updateUserAttributes(UserIntf anUserIntf)
Update selected user attributes.
|
UserIntf |
userLogin(String aLoginId,
String aPassword)
Log a user into the system
|
void |
userLogout(String aLoginId)
Log the user out.
|
Map<String,Object> |
validateJwtToken(String token) |
void createNewUser(UserIntf anUserIntf) throws Exception
anUserIntf - userException - exvoid deleteUser(String aLoginId, String aPassword) throws Exception
aLoginId - loginaPassword - passException - exUserIntf findUserByEmailAddr(String anEmail) throws Exception
anEmail - emailException - exvoid updateUserAttributes(UserIntf anUserIntf) throws Exception
anUserIntf - userException - exUserIntf userLogin(String aLoginId, String aPassword) throws Exception
aLoginId - loginaPassword - passException - exvoid userLogout(String aLoginId) throws Exception
aLoginId - loginException - exvoid changeFromTemporaryPassword(PasswordRequestIntf aPasswordRequest) throws Exception
aPasswordRequest - passException - exvoid forgotPassword(String aLoginId) throws Exception
aLoginId - loginException - exUserIntf getUserInfo(String aLoginId) throws Exception
aLoginId - the name of the userException - exboolean hasUser(String aLoginId) throws Exception
aLoginId - loginException - exvoid resetPassword(PasswordRequestIntf aResetRequest) throws Exception
aResetRequest - resetException - exvoid changePassword(PasswordRequestIntf aPasswordRequest) throws Exception
aPasswordRequest - passException - exvoid changeEmail(String aLoginId, String aNewEmail) throws Exception
aLoginId - loginaNewEmail - emailException - exCopyright © 2020. All rights reserved.