I currently need to validate the values passed in when editing ones own user profile (first name, last name, e-mail and especially username).
I already validate the username on account registration by implementing the Form Action SPI which gives me the opportunity to do some flexible validations.
However, I couldn’t find a specific way to do that for account updates.
I read something about a Validator SPI and a User Profile SPI (UserProfile and UserProfileProvider seem to exist) but there is literally no documentation on how to work with them.
Does anyone know a way on how to do that?