Re: help with changing roles in the web.xml

2024-08-22 Thread Juan Pablo Santos Rodríguez
Hi, testing with the cma is just an easy way of testing container managed auth / reproduce your issue; tomcat-users.xml, just needs to have roles similar to what the LDAP has. Then similar changes should be done on web.xml and with either cargo:run or running the tests you can see where to tweak

Re: help with changing roles in the web.xml

2024-08-21 Thread Alex O'Ree
not sure if this helps. while i'm running in tomcat, tomcat-users.xml is not used at all. The roles i have look nothing like "Authenticated" or "Admin" and i need a way to map them into what jspwiki is expecting. On Mon, Aug 19, 2024 at 5:32 PM Juan Pablo Santos Rodríguez < juanpablo.san...@gmail.

Re: help with changing roles in the web.xml

2024-08-19 Thread Juan Pablo Santos Rodríguez
Hi! Currently on holidays, mobile, no pc, apologies on brevity and typos. A way back I did connect JSPWiki with and LDAP backend, don't remember doing nothing fancy, perhaps roles did match exactly. I'd suggest to play with the jspwiki-it-cma module, which relies on tomcat-users.xml (defined inl