Package com.caplin.permissioning
Interface UserRequestListener
public interface UserRequestListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onUserDiscard
(String username) Method called back when a discard is made for a user.void
onUserRequest
(String username) Method called back when a request is made for a user that is not in the store.
-
Method Details
-
onUserRequest
Method called back when a request is made for a user that is not in the store. This allows the client to dynamically create the user, and any required groups, on demand. Once this method returns the user container will be returned from the store.- Parameters:
username
- the username whose value is being requested
-
onUserDiscard
Method called back when a discard is made for a user. This allows the client to dynamically remove the user when it is no longer being subscribed to.- Parameters:
username
- the username whose value is being discarded
-