Package io.datarouter.auth.service
Interface CopyUserListener
- All Known Implementing Classes:
CopyUserListener.DefaultCopyUserListener
public interface CopyUserListener
Allows specifying additional logic for copying users
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCopyUserListener.DefaultCopyUserListener -
Method Summary
Modifier and Type Method Description voidonCopiedUser(String oldUsername, String newUsername)this gets called when the admin UI is used to copy a user, after the copy has been completed successfully.
-
Method Details
-
onCopiedUser
this gets called when the admin UI is used to copy a user, after the copy has been completed successfully.- Parameters:
oldUsername- the old DatarouterUser usernamenewUsername- the new DatarouterUser username
-