Interface GroupMappingService

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  GroupMappingService.Factory
      Factory for creating a new instance.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getGroups​(java.lang.String user)
      Gets all various group memberships of a given user.
    • Method Detail

      • getGroups

        java.util.List<java.lang.String> getGroups​(java.lang.String user)
                                            throws java.io.IOException
        Gets 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:
        java.io.IOException