从 Worklight 开发的移动应用程序更改用户 Maximo 密码

Change a users Maximo password from a Worklight developed mobile app

我们使用 IBM Worklight 开发了我们自己的移动应用程序,它与 Maximo 交互。目前,所有用户都必须拥有一个在创建时设置有默认密码的 Maximo 帐户。当移动用户登录到应用程序时,他们的凭据将通过 Maximo 进行验证,并根据需要授予/拒绝访问权限。

我想做的是强制用户在首次登录时更改密码(从移动应用程序),然后每隔 (x) 天更改密码。

  1. 有谁知道是否有可以调用的现有服务/方法来执行此操作? (这将是我的首选方法)。

  2. 我知道用户密码作为加密字符串存储在数据库中,如果可以复制相同的加密方法,我可以用新字符串覆盖现有字符串。但是,使用的加密方法是什么以及它是如何实现的?

欢迎任何建议/信息。

非常感谢,克里斯。

Does anyone know if there is an existing service / method that can be invoked to do this? (which would be my preferred method).

Worklight/MobileFirst 中没有任何内容可以为您执行此操作。如果这是你想要做的,你需要编写自己的自定义逻辑(自定义验证器):https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/authentication-security/custom-authentication/

I know that the users password is stored in the database as an encrypted string and, if it was possible to replicate the same encryption method, I could just overwrite the existing string with the new one. But, what is the encryption method used and how has it been implemented?

不清楚你说的是哪种加密方式。 Worklight/MobileFirst 默认情况下会加密数据库中的任何内容,所以这听起来像是自定义 Maximo 行为。您可能希望通过打开 PMR 联系 Maximo 支持...