Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-14186

Cannot save properties of top-level realm - Realm name contains invalid character

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Functional tests:
      Yes

      Description

      Bug description

      Attempting to save the properties of the top level realm fails with the red error message displayed 'Realm names cannot contain: [ , \", #, $, %, &, +, ,, /, :, ;, <, =, >, ?, @,
      ]'

      How to reproduce the issue

      1. Deploy AM (7.0.0.snapshot) war.
      2. Perform configuration - chose to use embedded datastore and user store.
      3. Logged in as amadmin.  Navigated to top level realm dashboard.
      4. Clicked 'Properties'.  Changed 'client based sessions' to enabled and clicked Save.
      Expected behaviour
      Realm properties are saved
      Current behaviour
      Red error message appears indicating 'Realm names cannot contain: [ , \", #, $, %, &, +, ,, /, :, ;, <, =, >, ?, @, \\]'
      

      Work around

      Create a sub-realm in which the relevant settings can be changed or set as part of creating the realm (E.g. in my case I was wanting to set a realm to use client based sessions to did this in a sub-realm instead).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.carter Michael Carter
                Reporter:
                lawrence.yarham Lawrence Yarham
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: