public interface UserRegistrar
Modifier and Type | Interface and Description |
---|---|
static class |
UserRegistrar.Factory
Use this to retrieve the configured impl of UserRegistrar.
|
Modifier and Type | Method and Description |
---|---|
info.magnolia.cms.security.User |
registerUser(UserProfile userProfile,
PublicUserRegistrationConfig config)
Registers a user and delegates to a RegistrationStrategy.
|
void |
updateProfile(UserProfile userProfile,
PublicUserRegistrationConfig config)
Updates a user's profile and delegates to a RegistrationStrategy.
|
Map<String,String> |
validateForCreation(UserProfile userProfile,
PublicUserRegistrationConfig config)
Validates the given profile and returns a map of error messages, per field.
|
Map<String,String> |
validateForUpdate(UserProfile userProfile,
PublicUserRegistrationConfig config) |
Map<String,String> validateForCreation(UserProfile userProfile, PublicUserRegistrationConfig config)
info.magnolia.cms.security.User registerUser(UserProfile userProfile, PublicUserRegistrationConfig config)
Map<String,String> validateForUpdate(UserProfile userProfile, PublicUserRegistrationConfig config)
void updateProfile(UserProfile userProfile, PublicUserRegistrationConfig config)
Copyright © 2016 Magnolia International Ltd.. All rights reserved.