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 UsageSpecifications invalids the attack path.