TD created JSPWIKI-1128:
---------------------------

             Summary: jspwiki.cookieAuthentication is broken 
                 Key: JSPWIKI-1128
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1128
             Project: JSPWiki
          Issue Type: Bug
    Affects Versions: 2.11.0-M5
            Reporter: TD
             Fix For: 2.10.5


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

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to