[midPoint] Accidently deleted administrator from GUI
Болат Казыбаев
B.kazybayev at ktg.kz
Thu Sep 29 14:21:37 CEST 2016
Thank you for your time, guys! In fact I inserted a record without fullobject. That is why, when I restarted midpoint server there was an error during startup time and midpoint didn't started. Nevertheless we got valuable knowledge about database structure of midPoint during researching the problem. Thank you, again!
From: Болат Казыбаев
Sent: Thursday, September 29, 2016 3:43 PM
To: 'midpoint at lists.evolveum.com' <midpoint at lists.evolveum.com>
Subject: RE: Accidently deleted administrator from GUI
I solved the issue. Thank you Pavol Mederly, you are rock! :)
From: Болат Казыбаев
Sent: Wednesday, September 28, 2016 10:19 AM
To: 'midpoint at lists.evolveum.com' <midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>>
Subject: Accidently deleted administrator from GUI
Hi there,
I accidently deleted administrator from GUI and can't to log in. Our midpoint's database is postgresql. I created a user in postgresql table by getting data from another instance. Records were created in m_user, m_object, m_focus tables. Where should I create a password in order to log in to midpoint? Why don't you prohibit deleting administrator from GUI? It's a common situation and I think you have to protect it.
When I try to log in I getting this error: WARN (com.evolveum.midpoint.model.impl.security.UserProfileServiceImpl): Error getting user with name 'administrator', reason: Full object xml must not be null..
com.evolveum.midpoint.util.exception.SystemException: Full object xml must not be null.
I tried to browse the midpoint sourcecode here: https://github.com/Evolveum/midpoint/blob/edca60e6456e9fb5e9920d3215c0ece0e43ecf26/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/UserProfileServiceImpl.java but I did not understand. Any ideas how to solve the problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160929/d49aa358/attachment.htm>
More information about the midPoint
mailing list