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

Wrong xwiki.authentication.createuser parameter name generation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Development Priority:
      Low
    • Similar issues:

      Description

      Please see method getParam(String name, XWikiContext context) in com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl

      protected String getParam(String name, XWikiContext context)
      {
      String param = "";
      try

      { param = context.getWiki().getXWikiPreference(name, context); }

      catch (Exception e) {
      }
      if (param == null || "".equals(param)) {
      try

      { param = context.getWiki().Param( "xwiki.authentication." + StringUtils.replace(name, "auth_", ".")); !!! Please see.... wrong generation parameter name. Generate "xwiki.authentication..createuser" (Two dot) }

      catch (Exception e) {
      }
      }
      if (param == null)

      { param = ""; }

      return param;
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                krolser Aleh Krutsikau
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: