public interface UserRegistrationProvider
UserStorageProvider
that supports addition of new users. You must
implement this interface if you want to use this storage for registering new users.Modifier and Type | Method and Description |
---|---|
UserModel |
addUser(RealmModel realm,
String username)
All storage providers that implement this interface will be looped through.
|
boolean |
removeUser(RealmModel realm,
UserModel user)
Called if user originated from this provider.
|
UserModel addUser(RealmModel realm, String username)
realm
- a reference to the realmusername
- a username the created user will be assignedboolean removeUser(RealmModel realm, UserModel user)
realm
- a reference to the realmuser
- a reference to the user that is removedCopyright © 2021 JBoss by Red Hat. All rights reserved.