* Relies on the provided {@link GeorchestraUserMapperExtension}s to map an - * {@link Authentication} to a {@link GeorchestraUsers}. + * {@link Authentication} to a {@link GeorchestraUsers}, and on + * {@link GeorchestraUserCustomizerExtension} to apply additional user + * customizations once resolved from {@link Authentication} to + * {@link GeorchestraUser}. *
* {@literal GeorchestraUserMapperExtension} beans specialize in mapping auth * tokens for specific authentication sources (e.g. LDAP, OAuth2, OAuth2+OpenID, * etc). + *
+ * {@literal GeorchestraUserCustomizerExtension} beans specialize in applying
+ * any additional customization to the {@link GeorchestraUser} object after it
+ * has been extracted from the {@link Authentication} created by the actual
+ * authentication provider.
+ *
+ * @see GeorchestraUserMapperExtension
+ * @see GeorchestraUserCustomizerExtension
*/
@RequiredArgsConstructor
public class GeorchestraUserMapper {
@@ -49,6 +60,16 @@ public class GeorchestraUserMapper {
*/
private final @NonNull List