cbSecurity
CommunitySlackSupport
v1.x
v1.x
  • Introduction
  • Overview
  • How It Works
  • Declaring the Interceptor
    • XML Properties
    • JSON Properties
    • DB Properties
    • IOC Properties
    • OCM Properties
  • Security Rules
    • Sample JSON Rules
    • Sample XML Rules
  • _securedURL key
  • Default Security
  • Custom Security Validator Object
Powered by GitBook
On this page

Was this helpful?

Edit on Git
Export as PDF
  1. Declaring the Interceptor

OCM Properties

The following are properties used when the source of the rules is ocm or coming from the CacheBox

Property

Type

Required

Default

Description

rulesOCMKey

string

true

---

The cache key to use to retrieve the rules from the ColdBox default cache provider

interceptors = [
    {class="cbsecurity.interceptors.Security", name="ApplicationSecurity", properties={
        useRegex = true, rulesSource = "ocm", validatorModel = "SecurityService",
        rulesOCMKey = "qSecurityRules"
    }}
];
PreviousIOC PropertiesNextSecurity Rules

Last updated 6 years ago

Was this helpful?