Class AuthManagerMQService

    • Constructor Detail

      • AuthManagerMQService

        public AuthManagerMQService()
    • Method Detail

      • refreshCache

        public Response refreshCache()
        This method should be called only by test methods which need the authorizaiton manager to be refreshed
        Returns:
        Response with success status. back compatibility. this message is async and doesn't return real status
      • showOnlyVisibleObjects

        @Cacheable(value="organizations",
                   key="{ #userId }")
        public boolean showOnlyVisibleObjects​(String userId)
      • isUserEntitled

        public boolean isUserEntitled​(String userId,
                                      String resourceId)
      • isUserEntitled

        public boolean isUserEntitled​(String userId,
                                      String resourceId,
                                      String rightId)
      • isMemberOfGroup

        public boolean isMemberOfGroup​(String userId,
                                       String groupId)
      • isMemberOfGroup

        public boolean isMemberOfGroup​(String userId,
                                       String groupId,
                                       String rightId)
      • isMemberOfRole

        public boolean isMemberOfRole​(String userId,
                                      String roleId)
      • isMemberOfRole

        public boolean isMemberOfRole​(String userId,
                                      String roleId,
                                      String rightId)
      • isMemberOfOrganization

        public boolean isMemberOfOrganization​(String userId,
                                              String organizationId)
      • isMemberOfOrganization

        public boolean isMemberOfOrganization​(String userId,
                                              String organizationId,
                                              String rightId)
      • invalidateUserEntitlementsFromCache

        public void invalidateUserEntitlementsFromCache​(String userId)
      • markUserAsEntitlementsLoadingInProgress

        public void markUserAsEntitlementsLoadingInProgress​(String userId,
                                                            boolean inProgress)