Cross Reference:
xref
: /
forgerock
/
openidm-v4
/
openidm-zip
/
src
/
main
/
resources
/
script
/
policyFilter.js
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
policyFilter.js revision 80bee2069b3d33baed6fd0501419e357413d8f91
var
params
=
new
Object
();
params
.
_action
=
"validateObject"
;
var
result
;
if
(!(
request
.
id
.
indexOf
(
"policy/"
)==
0
)) {
result
=
openidm
.
action
(
"policy/"
+
request
.
id
,
params
,
request
.
value
);
if
(!
result
.
result
) {
throw
"Policy validation failed on "
+
request
.
id
;
}
}