router.json revision 3bdf5746dd571cd13f43c8afe558759e2f0f7ca0
{
"filters" : [
{
"onRequest" : {
"type" : "text/javascript",
"file" : "script/router-authz.js"
}
},
{
"pattern" : "^managed/user/.*",
"methods" : [
"query"
],
"onResponse" : {
"type" : "text/javascript",
"file" : "script/ui/onResponse-user-query-hide-sensitive-attributes.js"
}
},
{
"pattern" : "^managed/user/.*",
"methods" : [
"read"
],
"onResponse" : {
"type" : "text/javascript",
"file" : "script/ui/onResponse-user-read-hide-sensitive-attributes.js"
}
},
{
"pattern" : "^managed/user/.*",
"methods" : [
"query"
],
"condition" : {
"type" : "text/javascript",
"source" : "request.params['_query-id'] == 'for-credentials'"
},
"onRequest" : {
"type" : "text/javascript",
"file" : "script/ui/onRequest-for-credentials.js"
},
"onResponse" : {
"type" : "text/javascript",
"file" : "script/ui/onResponse-for-credentials.js"
}
},
{
"pattern" : "^managed/user/.*",
"methods" : [
"query"
],
"condition" : {
"type" : "text/javascript",
"source" : "request.params['_query-id'] == 'query-matching-username'"
},
"onRequest" : {
"type" : "text/javascript",
"file" : "script/ui/onRequest-for-query-matching-username.js"
}
},
{
"pattern" : "^managed/user/.*",
"methods" : [
"query"
],
"condition" : {
"type" : "text/javascript",
"source" : "request.params['_query-id'] == 'query-count-matching-username'"
},
"onRequest" : {
"type" : "text/javascript",
"file" : "script/ui/onRequest-for-query-matching-username.js"
}
},
{
"pattern" : "^managed/user/.*",
"methods" : [
"query"
],
"condition" : {
"type" : "text/javascript",
"source" : "request.params['_query-id'] == 'for-security-answer'"
},
"onResponse" : {
"type" : "text/javascript",
"file" : "script/ui/onResponse-for-securityAnswer.js"
}
},
{
"pattern" : "^managed/user/.*",
"methods" : [
"query"
],
"condition" : {
"type" : "text/javascript",
"source" : "request.params['_query-id'] == 'set-newPassword-for-userName-and-security-answer'"
},
"onResponse" : {
"type" : "text/javascript",
"file" : "script/ui/onResponse-set-newPassword-for-userName-and-security-answer.js"
}
}
]
}