Skip to content

QuiddityGuard

codefriar edited this page Dec 4, 2020 · 12 revisions

layout: default

QuiddityGuard class

contains methods and static lists for rapid acceptence of a particular set of quiddities


Properties

testQuiddityOverrideQuiddity

a private testvisible variable allowing developers to inject a custom quiddity value during test execution.

trustedQuidditiesList<Quiddity>

a non-exhaustive list of Quiddities that do not include user situations where users could be injecting malicious data.

untrustedQuidditiesList<Quiddity>

A list of quiddities that may include user-defined data and therefore should not be trusted without manual FLS/CRUD checks


Methods

isAcceptableQuiddity(List<Quiddity> acceptableQuiddites)boolean

A method to determine if the current Quiddity context is within a caller-supplied list of acceptable quiddity values.

Parameters

Param Description
acceptableQuiddites A list of quiddities to check against

Clone this wiki locally