Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-1128

jspwiki.cookieAuthentication is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.11.0-M5
    • 2.10.5
    • None
    • None

    Description

      Hello

      I think the jspwiki.cookieAuthentication is broken (it was working back to 2.10.5 version). I upgraded to 2.11-M5.

      I am using : https://hub.docker.com/r/metskem/docker-jspwiki/

      I defined and place a jsp-custom.properties at : /usr/local/tomcat/webapps/ROOT/WEB-INF/classes/jspwiki-custom.properties

      I know the file is correctly loaded because some properties are correctly working .

      extract of "jsp-custom.properties" :

      jspwiki.cookieAuthentication = true
      jspwiki.cookieAuthentication.expiry = 365

       

      /var/jspwiki/work $ ls
      lucene refmgr-attr refmgr.ser

      No "logincookies" directory is created. (see https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration#section-Configuration-CookieAuthentication)

      No errors in the /var/jspwiki/logs/jspwiki.log, just multiple lines :

      2020-01-26 10:54:42,459 [http-nio-8080-exec-8] INFO org.apache.wiki.util.PropertyReader JSPWiki:/ JSPWiki:http://myjspwiki:8080/ - No jspwiki.custom.config defined for this context, looking for custom properties file with default name of: /jspwiki-custom.properties

       

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            TD TD
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: