Class SecurityPolicyResult
java.lang.Object
org.apache.camel.main.SecurityPolicyResult
Holds the results of security policy evaluation at startup.
Registered as a context plugin so that health checks and other components can access the security policy violations detected during startup.
- Since:
- 4.19.0
-
Constructor Summary
ConstructorsConstructorDescriptionSecurityPolicyResult(List<org.apache.camel.util.SecurityViolation> violations) -
Method Summary
Modifier and TypeMethodDescriptionintNumber of violations detected.List<org.apache.camel.util.SecurityViolation> All security violations detected at startup.booleanWhether any violations were detected.
-
Constructor Details
-
SecurityPolicyResult
-
-
Method Details
-
getViolations
All security violations detected at startup. -
hasViolations
public boolean hasViolations()Whether any violations were detected. -
getViolationCount
public int getViolationCount()Number of violations detected.
-