Package com.axelor.auth.web
Class UserController
java.lang.Object
com.axelor.auth.web.UserController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangePassword(ActionRequest request, ActionResponse response) voidloadSessions(ActionRequest request, ActionResponse response) Loads the active sessions for the requested user and sets them on the response.voidonSave(ActionRequest request, ActionResponse response) voidshowChangePassword(ActionRequest request, ActionResponse response) voidshowPasswordRequirements(ActionRequest request, ActionResponse response) voidterminateSession(ActionRequest request, ActionResponse response) Revokes a specific session by ID.
-
Constructor Details
-
UserController
public UserController()
-
-
Method Details
-
onSave
-
showPasswordRequirements
-
showChangePassword
-
changePassword
-
loadSessions
Loads the active sessions for the requested user and sets them on the response.Only the user themselves or an admin can load sessions.
-
terminateSession
Revokes a specific session by ID.The caller must either own the session or be an admin. The current session cannot be revoked.
-