[midPoint] Accidently deleted administrator from GUI

Pavol Mederly mederly at evolveum.com
Thu Sep 29 11:33:22 CEST 2016


Hello Bolat,

U think your approach is right: copy User object from another instance; 
provided they use the same Java keystore. Otherwise, the target midPoint 
would not be able to decode administrator's password.

I think that m_user, m_focus and m_object tables are sufficient.

 From the error message it seems that you forgot to copy the 
m_object.fullObject column (it is a BLOB-like column).

Best regards,

Pavol Mederly
Software developer
evolveum.com

On 28.09.2016 6:18, Болат Казыбаев wrote:
>
> 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?
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160929/76fe7839/attachment.htm>


More information about the midPoint mailing list