Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19442

APIs to generate various String references from a UserReference

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 13.10
    • User
    • None
    • Unknown

    Description

      Right now we have only a single `UserReferenceSerializer<String>` implementation per user storage type. It seems we might need more than one.

      Context:

      Discussion:

      Vincent:

      For the future, we could imagine a "local" or "global" string serialization I guess (for LDAP, "global" would mean adding the ou or dcpart
      ex: "cn=Joe Smith,ou=East,dc=MyDomain,dc=com"
      global = "cn=Joe Smith,ou=East,dc=MyDomain,dc=com"
      local = "cn=Joe Smith"
      not sure though
      just an idea
      the harder part is that "compactwiki" is not the same as current
      (I'm not sure what the need for "local" LDAP string would be though )
      I guess for the same reason, for example you want to save the user ref somewhere, independently of its organizational unit (or domain)
      We could also have a generic "store" hint for "UserRefefenceSerializer" to generate a string reference that can be used to store user references for easy moves/renames/etc

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: