Interface IGroupMappingServiceProvider

All Known Implementing Classes:
FixedGroupsMapping, ShellBasedGroupsMapping

public interface IGroupMappingServiceProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    Get all various group memberships of a given user.
    void
    prepare(Map<String,Object> topoConf)
    Invoked once immediately after construction.
  • Method Details

    • 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