Package org.iam.core
Class AccessRefinery
java.lang.Object
org.iam.core.AccessRefinery
AccessRefinery is the main processing class for analyzing constraint files.
Responsible for parsing input files, calculating findings, reducing and merging results, and exporting the results in various formats. This class coordinates the workflow between parsing, symbolic computation, and result output.
- Since:
- 2025-02-28
- Author:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmergingIntents(HashSet<MCPIntent> findings) Merges compatible findings into larger intents.voidprintMCPPolicy(MCPPolicy mcpPolicy, Path path) Writes the symbolic representation of the MCPPolicy to a DOT file.running(Path fileName, ResultsAnalyzer analyzer) Calculates findings based on the constraint file specified byfileName.
-
Constructor Details
-
AccessRefinery
public AccessRefinery()Default constructor.
-
-
Method Details
-
running
Calculates findings based on the constraint file specified byfileName. Parses the file, initializes symbolic domains, computes findings, and optionally reduces or merges them.- Parameters:
fileName- the path to the input fileanalyzer- the summary analyzer for timing and statistics- Returns:
- a set of findings calculated from the input
- Throws:
IOException- if file reading or writing fails
-
mergingIntents
Merges compatible findings into larger intents.- Parameters:
findings- the set of findings to merge- Returns:
- a set of merged findings
-
printMCPPolicy
Writes the symbolic representation of the MCPPolicy to a DOT file.- Parameters:
mcpPolicy- the MCPPolicy objectpath- the output file path
-