[midPoint] Accidently deleted administrator from GUI

Болат Казыбаев B.kazybayev at ktg.kz
Wed Sep 28 06:18:46 CEST 2016


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/20160928/842a0d35/attachment.htm>


More information about the midPoint mailing list