Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-5234

Support attribute restrictions (e.g. XSD maxLength for string)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: backlog
    • Component/s: None
    • Labels:

      Description

      How to define attribute with a limit for max/min length?

      Use case: target system is a database with columns with different size restrictions.

      The only "workarounds" may be:

      • value policy with only min/max definitions
      • object template validation mappings to validate the length
      • mappings to shorten data before sending to remote resource

      I was unable to define maxLength using XSD schema extension file. It was either not used at all or midPoint refused to start.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vix Ivan Noris
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: