You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2017/02/24 09:21:44 UTC

[jira] [Created] (SYNCOPE-1030) Invalid DefaultAccountRule definition from Admin Console

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)