Ifjjv ym spring security

You shouldn't send principal from UI, you should fetch it from SecurityContext