Custom Password Policy – Error when referencing an external script

Tagged: , ,

This topic contains 1 voice and has 0 replies.

  • Author
    Posts
  • #25994
     Andrew 
    Participant

    Hi There,

    I need to add a new custom password policy. I have followed these instructions https://backstage.forgerock.com/docs/idm/6.5/integrators-guide/#custom-scripted-policies. Also these http://tumy-tech.com/2015/04/11/openidm-implementing-a-custom-password-policy/

    Using 6.5.0.1 after adding my script to the additionalFiles value in config/policy.json I get the following error:

    WARNING: Resource exception: 500 Internal Server Error: “SyntaxError: missing } after property list”
    org.forgerock.json.resource.InternalServerErrorException: SyntaxError: missing } after property list

    My conf/policy.json file looks like this:

    “type” : “text/javascript”,
    “file” : “policy.js”,
    “additionalFiles” : [“script/maxLength_policy.js”],
    “resources” : [

    Any idea what I may be doing wrong.

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2019 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?