Hello

I am also facing same issue with MySql database users for update password

*Reset Password Management for MySql users*


For mysql password update issue it is trying to use LDAP module to update 
the password but it should be using JDBC module to update Mysql DB password!


Below error log line indicates that.

*ERROR 
[org.apereo.cas.config.pm.org.apereo.cas.pm.ldap.LdapPasswordManagementService]*


I have removed all dependencies from pom.xml file and all Ldap attribute 
entries from cas.properties related to ldap  but still cas server use 
*[org.apereo.cas.config.pm.org.*
*apereo.cas.pm.ldap.LdapPasswordManagementService]* for update password of 
mysql users


so how can I activate *org.apereo.cas.config.pm.org 
<http://org.apereo.cas.config.pm.org/>.**apereo.cas.pm.jdbc.JdbcPassword 
ManagemntService* in cas server. Do you have any suggestions?


Thanks and Regards

Arti

On Monday, July 20, 2020 at 8:31:36 AM UTC+5:30, Napoleon Ponaparte wrote:
>
> I have succeed config Password Management via JDBC in Apereo CAS version 
> 6.1.x. 
>
> Now, I want to try Password Management via REST since I used MongoDB to 
> store user information, thus the fact that JDBC password management is not 
> applicable with my case.
>
> I followed this instruction Password Managment REST 
> <https://apereo.github.io/cas/6.1.x/configuration/Configuration-Properties.html#rest-password-management>
>
> <https://i.stack.imgur.com/SjKhp.png>
>
> I wrote Go code as REST API to connect MongoDB, GET information and UPDATE 
> user information easily. But I don't know structure of Request and Response 
> JSON is.
>
> For example:
> REQUEST FOR USERNAME 
> GET /restapilink:port/username 
> RESPONSE { "username": "abc" } 
> REQUEST FOR Password GET /restapilink:port/password RESPONSE { "password": 
> "123456" }
>
> Or
> REQUEST for all user information 
> GET /restapilink:port/ 
> RESPONSE { "username": "abc", "password": "123456", "email": "
> [email protected] <javascript:>" }
>
> And Could I use REST to reset password with user information store in 
> MongoDB?
>
> In addition, I have found this RestPasswordManagementService.java 
> <https://fossies.org/linux/www/legacy/cas-6.1.6.tar.gz/cas-6.1.6/support/cas-server-support-pm-rest/src/main/java/org/apereo/cas/pm/rest/RestPasswordManagementService.java>.
>  
> It is not easy to understand since I don't know input and output are.
>
> Please help me.
>
> Thank you.
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6e0481b9-87e3-4b60-9b40-4983ff6a263do%40apereo.org.

Reply via email to