Class CurrentUserContextImpl

    • Constructor Detail

      • CurrentUserContextImpl

        public CurrentUserContextImpl​(boolean shouldUseLowerCaseForAccessIds)
    • Method Detail

      • getGroupIds

        public List<String> getGroupIds()
        Description copied from interface: CurrentUserContext
        Returns all groupIds of the current user.
        Specified by:
        getGroupIds in interface CurrentUserContext
        Returns:
        list containing all groupIds of the current user. Empty if the current user belongs to no groups or no JAAS Subject set.
      • getAccessIds

        public List<String> getAccessIds()
        Description copied from interface: CurrentUserContext
        Returns all accessIds of the current user. This combines the userId and all groupIds of the current user.
        Specified by:
        getAccessIds in interface CurrentUserContext
        Returns:
        list containing all accessIds of the current user. Empty if there is no JAAS subject.