Class CredentialValidator
java.lang.Object
edu.kit.ipd.sdq.attacksurface.graph.algorithms.CredentialValidator
- All Implemented Interfaces:
org.jgrapht.alg.shortestpath.PathValidator<ArchitectureNode,
AttackEdge>
public class CredentialValidator
extends Object
implements org.jgrapht.alg.shortestpath.PathValidator<ArchitectureNode,AttackEdge>
Validator class to consider the attack surface filter during the attack path calculation. It
compares whether the current attack path has already added an edge which provides the initially
filtered
UsageSpecification
. If the attack path does not contain a Vulnerability
or AttributeProvider
with the required credentials, an edge requiring these
UsageSpecification
s invalids the attack path.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValidPath
(org.jgrapht.GraphPath<ArchitectureNode, AttackEdge> graph, AttackEdge newEdge)
-
Constructor Details
-
CredentialValidator
-
-
Method Details
-
isValidPath
public boolean isValidPath(org.jgrapht.GraphPath<ArchitectureNode, AttackEdge> graph, AttackEdge newEdge) - Specified by:
isValidPath
in interfaceorg.jgrapht.alg.shortestpath.PathValidator<ArchitectureNode,
AttackEdge>
-