Package no.nav.arxaas.model.risk
Class AttackerSuccess
- java.lang.Object
-
- no.nav.arxaas.model.risk.AttackerSuccess
-
public class AttackerSuccess extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private Map<String,Double>successRates
-
Constructor Summary
Constructors Constructor Description AttackerSuccess(Map<String,Double> successRates)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttackerSuccesscreate(org.deidentifier.arx.risk.RiskModelSampleSummary riskModelSampleSummary)booleanequals(Object o)Map<String,Double>getSuccessRates()inthashCode()private static doublejournalistAttackerSuccessRate(org.deidentifier.arx.risk.RiskModelSampleSummary riskModelSampleSummary)Returns a double that shows the success rate of a journalist riskprivate static doublemarketerAttackerSuccessRate(org.deidentifier.arx.risk.RiskModelSampleSummary riskModelSampleSummary)Returns a double that shows the success rate of a marketer riskprivate static doubleprosecutorAttackSuccessRate(org.deidentifier.arx.risk.RiskModelSampleSummary riskModelSampleSummary)Returns a double that shows the Success rate of a prosecutor riskStringtoString()
-
-
-
Method Detail
-
create
public static AttackerSuccess create(org.deidentifier.arx.risk.RiskModelSampleSummary riskModelSampleSummary)
-
prosecutorAttackSuccessRate
private static double prosecutorAttackSuccessRate(org.deidentifier.arx.risk.RiskModelSampleSummary riskModelSampleSummary)
Returns a double that shows the Success rate of a prosecutor risk- Parameters:
riskModelSampleSummary- containing summary of the dataset risks- Returns:
- attacker success rate of a prosecutor risk
-
journalistAttackerSuccessRate
private static double journalistAttackerSuccessRate(org.deidentifier.arx.risk.RiskModelSampleSummary riskModelSampleSummary)
Returns a double that shows the success rate of a journalist risk- Parameters:
riskModelSampleSummary- containing summary of the dataset risks- Returns:
- attacker success rate of a journalist risk
-
marketerAttackerSuccessRate
private static double marketerAttackerSuccessRate(org.deidentifier.arx.risk.RiskModelSampleSummary riskModelSampleSummary)
Returns a double that shows the success rate of a marketer risk- Parameters:
riskModelSampleSummary- containing summary of the dataset risks- Returns:
- attacker success rate of a marketer risk
-
-