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) voidloadAuthenticationEvents(ActionRequest request, ActionResponse response) Loads a page of authentication events for the requested user and sets it on the 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.
-
loadAuthenticationEvents
Loads a page of authentication events for the requested user and sets it on the response.The page starts at the
_offsetcontext value (defaults to0). Only the user themselves or an admin can load authentication events, and only with the read permission onAuthenticationEvent.
-