When the admin user create the user, I customize the code to switch on and off \"homeFolderCreationEager\" but it can only delay the creation of the folder. When the correspondi
# Create home folders (unless disabled, see next property) as people are created (true) or create them lazily (false)
home.folder.creation.eager=true
# Disable home folder creation - if true then home folders are not created (neither eagerly nor lazily
home.folder.creation.disabled=false
Use the second property to disable home folder creation completely. The properties are meant to be static and system-wide.
If you want to fine-tune the creation according to some other logic, you can wire in your own homeFolderManager bean.