router.json revision d05649bdb35c6814b435972c4bf5159913bf03ba
08fc4eb537ed24136b05660d0aa038b336516961vboxsync{
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "filters" : [
08fc4eb537ed24136b05660d0aa038b336516961vboxsync {
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "onRequest" : {
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "type" : "text/javascript",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "file" : "router-authz.js"
08fc4eb537ed24136b05660d0aa038b336516961vboxsync }
08fc4eb537ed24136b05660d0aa038b336516961vboxsync },
08fc4eb537ed24136b05660d0aa038b336516961vboxsync {
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "onRequest" : {
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "type" : "text/javascript",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "file" : "policyFilter.js"
08fc4eb537ed24136b05660d0aa038b336516961vboxsync },
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "methods" : [
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "create",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "update"
08fc4eb537ed24136b05660d0aa038b336516961vboxsync ]
08fc4eb537ed24136b05660d0aa038b336516961vboxsync },
08fc4eb537ed24136b05660d0aa038b336516961vboxsync {
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "pattern" : "repo/internal/user.*",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "onRequest" : {
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "type" : "text/javascript",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "source" : "request.content.password = require('crypto').encrypt(request.content.password);"
08fc4eb537ed24136b05660d0aa038b336516961vboxsync },
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "methods" : [
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "create",
08fc4eb537ed24136b05660d0aa038b336516961vboxsync "update"
08fc4eb537ed24136b05660d0aa038b336516961vboxsync ]
08fc4eb537ed24136b05660d0aa038b336516961vboxsync }
08fc4eb537ed24136b05660d0aa038b336516961vboxsync ]
08fc4eb537ed24136b05660d0aa038b336516961vboxsync}