Interface UserRequestListener


public interface UserRequestListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method called back when a discard is made for a user.
    void
    Method called back when a request is made for a user that is not in the store.
  • Method Details

    • onUserRequest

      void onUserRequest(String username)
      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

      void onUserDiscard(String username)
      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