cbSecurity Module

39 views
Skip to first unread message

Saravana K

unread,
Sep 22, 2016, 7:34:54 AM9/22/16
to ColdBox Platform
Hi,

I'm using cbSecurity module with below JSON rule. I want all the handlers to be secured so, do i need to add all the handlers in securelist ?

[
    {
        "ruleName": "secureAccess",
        "comment": "Allow access only after login",
        "whitelist": "Security.login,Security.doLogin",
        "securelist": "^Security,^Main",
        "match": "event",
        "roles": "admin",
        "redirect": "Security.login",
        "useSSL": false
    }
]

Luis Majano

unread,
Sep 22, 2016, 10:29:02 PM9/22/16
to coldbox
No,  the whitelist and securelist are based on regular expressions. So you can create a regex that matches everything if you want.

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+unsubscribe@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/6b143899-824d-4cc5-aead-427333ff4b9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages