Francesco Chicchiriccò created SYNCOPE-1030:
-----------------------------------------------

             Summary: Invalid DefaultAccountRule definition from Admin Console
                 Key: SYNCOPE-1030
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1030
             Project: Syncope
          Issue Type: Bug
          Components: console
    Affects Versions: 2.0.2
            Reporter: Francesco Chicchiriccò
             Fix For: 2.0.3, 2.1.0


When adding {{DefaultAccountRule}} instances to an Account Policy or 
{{DefaultPasswordRule}} instances to a Password Policy from Admin Console, in 
case {{wordsNotPermitted}}, {{prefixesNotPermitted}} or 
{{suffixesNotPermitted}} are not specified, the following JSON payload is sent 
to the Core (excerpt):

{code}
        "wordsNotPermitted": [
          null
        ],
        "prefixesNotPermitted": [
          null
        ],
        "suffixesNotPermitted": [
          null
        ]
{code}

e.g. instead of empty arrays, singleton arrays with a {{null}} element.

This will later cause troubles during policy evaluation.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to