-
Notifications
You must be signed in to change notification settings - Fork 459
QuiddityGuard
pozil edited this page Nov 14, 2024
·
12 revisions
contains methods and static lists for rapid acceptence of a particular set of quiddities
Group Quiddity Recipes
TESTVISIBLE
a private testvisible variable allowing developers to inject a custom quiddity value during test execution.
private static testQuiddityOverride
Quiddity
a non-exhaustive list of Quiddities that do not include user situations where users could be injecting malicious data.
public static trustedQuiddities
List<Quiddity>
An exaustive list of quiddities that are valid for a test execution
public static trustedTestQuiddities
List<Quiddity>
A list of quiddities that may include user-defined data and therefore should not be trusted without manual FLS/CRUD checks
public static untrustedQuiddities
List<Quiddity>
A method to determine if the current Quiddity context is within a caller-supplied list of acceptable quiddity values.
public static Boolean isAcceptableQuiddity(List<Quiddity> acceptableQuiddites)
Name | Type | Description |
---|---|---|
acceptableQuiddites | List<Quiddity> | A list of quiddities to check against |
Boolean
public static Boolean isNotAcceptableQuiddity(List<Quiddity> acceptableQuiddites)
Name | Type | Description |
---|---|---|
acceptableQuiddites | List<Quiddity> |
Boolean