You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "TD (Jira)" <ji...@apache.org> on 2020/01/26 17:20:00 UTC

[jira] [Resolved] (JSPWIKI-1128) jspwiki.cookieAuthentication is broken

     [ https://issues.apache.org/jira/browse/JSPWIKI-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

TD resolved JSPWIKI-1128.
-------------------------
    Resolution: Not A Bug

For some reasons I don't know it works now ! The ticket can be closed

> 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
>            Priority: Major
>             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)