Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
authorizer : { name : net.shrine.authz.providerService.authorize.HmsAuthorizer } |
A more flexible authorizer could be the following. It concatenates all the received attributes and values, and then applies any number of Regexes to it. Authorization is granted if all regexes find a match.
Code Block | ||||
---|---|---|---|---|
| ||||
//////////////////////////////////////////////////////////// // example of an alternate authorizer: RegexAuthorizer // //////////////////////////////////////////////////////////// authorizer : { name : net.shrine.authz.providerService.examples.RegexAuthorizer regexTerms : [ "wb-list.isBlack.false" "(wb-list.isWhite.true)|(profiles_faculty_type_and_id.faculty_type.[0-4])" "!(fp77)" ] } |
...
Overview
Content Tools