Package org.apache.storm.security.auth

## Interface IGroupMappingServiceProvider

- All Known Implementing Classes:
    `FixedGroupsMapping`, `ShellBasedGroupsMapping`

      public interface IGroupMappingServiceProvider

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Set<String>` | `getGroups​(String user)` | Get all various group memberships of a given user.
    `void` | `prepare​(Map<String,​Object> topoConf)` | Invoked once immediately after construction.

- - ### Method Detail

    - #### prepare

          void prepare​(Map<String,​Object> topoConf)

      Invoked once immediately after construction.
      Parameters:
        `topoConf` - Storm configuration

    - #### getGroups

          Set<String> getGroups​(String user)
                         throws IOException

      Get all various group memberships of a given user. Returns EMPTY list in case of non-existing user.
      Parameters:
        `user` - User's name
      Returns:
        group memberships of user
      Throws:
        `IOException`