[midPoint] Reset DefaultSecurityPolicy

Ivan Noris ivan.noris at evolveum.com
Mon Mar 25 10:18:24 CET 2024


Hi Michal,

you can use ninja to reimport any object from midPoint's initial objects.

E.g. to replace administrator user with the default one:

bash# cd /opt/training/midpoint
bash# ./bin/ninja.sh import --input
./doc/config/initial-objects/050-user-administrator.xml --overwrite

Use can use similar steps to reimport working Security policy.

You need to run ninja with user with access to config.xml. Please don't 
leave config.xml readable for everyone.

Best regards,

Ivan

On 19. 3. 2024 15:40, Michal Sakac via midPoint wrote:
> Hi i have problem I misconfigured default security policy on my 
> midpoint. Now I can’t login or use rest call. Can anyone help me how 
> to factory reset default security policy ?
>
>
> Thx
>
> Regards Michal Sakáč
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint

-- 
Ivan Noris
Expert Identity Engineer
evolveum.com



More information about the midPoint mailing list