Class RoleAnalysisDataServiceUtils

java.lang.Object
com.evolveum.midpoint.model.impl.mining.RoleAnalysisDataServiceUtils

public class RoleAnalysisDataServiceUtils extends Object
Utility class for analysis data preparation service.
  • Constructor Details

    • RoleAnalysisDataServiceUtils

      public RoleAnalysisDataServiceUtils()
  • Method Details

    • getManuallyUnwantedAccesses

      @NotNull protected static @NotNull Set<String> getManuallyUnwantedAccesses(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull String sessionOid, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result)
      Retrieves the set of manually unwanted access OIDs based on the session's identified characteristics.
      Parameters:
      roleAnalysisService - The service used to retrieve the session object.
      sessionOid - The OID of the session.
      task - The task in which the operation is performed.
      result - The operation result.
      Returns:
      A set of manually unwanted access OIDs.
    • getManuallyUnwantedUsers

      @NotNull protected static @NotNull Set<String> getManuallyUnwantedUsers(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull String sessionOid, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result)
      Retrieves the set of manually unwanted user OIDs based on the session's identified characteristics.
      Parameters:
      roleAnalysisService - The service used to retrieve the session object.
      sessionOid - The OID of the session.
      task - The task in which the operation is performed.
      result - The operation result.
      Returns:
      A set of manually unwanted access OIDs.
    • prepareAnalysisData

      @NotNull protected static @NotNull com.google.common.collect.ListMultimap<String,String> prepareAnalysisData(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisSessionType sessionObject, boolean updateStatistics, @Nullable @Nullable AttributeAnalysisCache attributeAnalysisCache, @NotNull @NotNull ObjectCategorisationCache objectCategorisationCache, @NotNull @NotNull RoleAnalysisProcessModeType processMode, @NotNull @NotNull com.google.common.collect.ListMultimap<String,String> roleMembersMap, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result)
      Retrieves the set of manually unwanted access OIDs based on the session's identified characteristics. Part of loading the analysis data (assignments or roleMembershipRefs).
    • reverseMap

      @NotNull public static @NotNull com.google.common.collect.ListMultimap<String,String> reverseMap(@NotNull @NotNull com.google.common.collect.ListMultimap<String,String> roleMemberCache)
    • getSessionAccessPopularityOptionsValue

      @Nullable protected static @Nullable Integer getSessionAccessPopularityOptionsValue(@Nullable @Nullable RoleAnalysisSessionType session)
    • getSessionMaxAccessPopularityOptionsValue

      @Nullable protected static @Nullable Integer getSessionMaxAccessPopularityOptionsValue(@Nullable @Nullable RoleAnalysisSessionType session)