Hi, Thanks for responding.
We are using JSPWiki v2.6.1. Based on your link below, I was able to update the catalina.sh file to include the -Djava.security.auth.login.config variable and get login working. Sometimes it just takes a little push in the right direction to get things going. :) Thanks again! ----- Original Message ----- From: "Juan Pablo Santos RodrÃguez" <[email protected]> To: [email protected] Sent: Friday, February 13, 2015 4:23:46 AM Subject: Re: Authentication Configuration Hi, the java.security.auth.login.config property is used to indicate which jaas file should be used ([#1]), you can set it through command line or inside tomcat init scripts. From what you are describing, it seems JSPWiki isn't being able to locate your custom security files. Would you mind checking + pasting here your log files, they should at least give a hint of what's happening. Also which version of JSPWiki are you using? would you mind sharing your jspwiki[-custom].properties (esp. the security-related values)? br, juan pablo [#1]: http://docs.oracle.com/javase/7/docs/technotes/guides/security/jgss/tutorials/LoginConfigFile.html On Thu, Feb 12, 2015 at 9:42 PM, SDOCA SDOCA <[email protected]> wrote: > Hi, > > Can anybody help with this or recommend a way to get help? If we can't > figure this out, we'll have to migrate to a different wiki tool. > > Thanks! > > ----- Original Message ----- > From: "SDOCA SDOCA" <[email protected]> > To: [email protected] > Sent: Wednesday, February 11, 2015 9:10:08 AM > Subject: Authentication Configuration > > Hi, > > I am trying to move our existing wiki to a new server. I copied our > entire directory from the old (Solaris) server to the new (RHEL) server. We > are using custom authentication and I believe the copy includes all the > files needed in our <tomcat>/webapps/mywiki/WEB-INF directory: > > - groupdatabase.xml > - jspwiki.jaas > - jspwiki.policy > - jspwiki.properties > - jspwiki.tld > - jstl-fmt.tld > - userdatabase.xml > > However, no one can login to the new wiki (we can login to the old one). > I enabled the admin/SecurityConfig.jsp page and get these messages: > > We found some errors with your configuration: The system property > 'java.security.auth.login.config' is null. > > We found some errors with your configuration: > We could not find the 'JSPWiki-container' login configuration.</p> > We could not find the 'JSPWiki-custom' login configuration.</p> > > We found some errors with your configuration: Policy file does not > have a keystore... at least not one that we can locate. > > Can someone tell me how to set the 'java.security.auth.login.config' > property? Will this fix the other error messages as well? > > Thanks! >
