Re: [xwiki-users] New blog posts marked unread or new

2011-05-18 Thread Vincent Massol
Hi Lockie, On May 18, 2011, at 6:55 AM, Lockie wrote: Hello I'm using the blog system on my XWiki intranet as a form of announcements on the front page, and I would like the new entries in the blog to be more obvious that they are in fact new and unread by the user on their browser. So

[xwiki-users] X509Certificate is null

2011-05-18 Thread Scardino, Leonard R Jr ERDC-ITL-MS Contractor
Xwiki version: 2.7.33656 Ok, so I have a different webapp running on the same instance of Tomcat as Xwiki, and I'm able to make a getAttribute(javax.servlet.request.X509Certificate) call and am able to get the clients certificates. However, in my custom login for Xwiki when I try the same thing,

Re: [xwiki-users] X509Certificate is null

2011-05-18 Thread Caleb James DeLisle
Hi, Client certs sounds like a neat project. When you are using scripting such as {{groovy}}, the request variable will be set to this: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/XWikiServletRequest.java That is a

Re: [xwiki-users] X509Certificate is null

2011-05-18 Thread Scardino, Leonard R Jr ERDC-ITL-MS Contractor
Thanks for the reply. Unfortunately I've tried that and I'm still not getting anything back. My current track for making this work is using the Cryptographic Module which seems to have a $services.crypto.x509.certFromPEM() that works in a velocity template. However, I need this for login

[xwiki-users] RES: ERROR: XWiki 3.0M1 + Postgres + JBoss4.3 not working

2011-05-18 Thread Ramon Gomes Brandão - SERINT
Hi, I've got it working. For PostgreSQL, in xwiki.db property from xwiki.cfg, it should be leaved commented out since the database name is already specified in the postgresql connection URL from hibernate.cgf.xml. If you specify anything on that property in xwiki.cfg, hibernate tries to

Re: [xwiki-users] X509Certificate is null

2011-05-18 Thread Caleb James DeLisle
On 05/18/2011 01:03 PM, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote: Thanks for the reply. Unfortunately I've tried that and I'm still not getting anything back. My current track for making this work is using the Cryptographic Module which seems to have a

Re: [xwiki-users] X509Certificate is null

2011-05-18 Thread Scardino, Leonard R Jr ERDC-ITL-MS Contractor
Ok, that is one I will have to remember. Looks like that will give you access to a lot of useful things. However, I now don't think the X509CryptoService will help. The certFromPEM expects you to send it the certificate as a string, which at first I didn't realize. I'm getting the certificate

Re: [xwiki-users] X509Certificate is null

2011-05-18 Thread Scardino, Leonard R Jr ERDC-ITL-MS Contractor
Ok, I believe I have figured it out, and I must say it was around the world to do so. It turns out the way you get the server to ask the browser for the clients certificates is to set a directive in Apache SSLVerifyClient require. I am working on code that was created by others before me, so I

Re: [xwiki-users] passing POST query string

2011-05-18 Thread Sergiu Dumitriu
On 05/19/2011 01:35 AM, Caleb James DeLisle wrote: The query string is literally the string which follows the ? in the url. When you are posting you are not using the query string but instead you are encoding the data in the body of the post which is why it can hold more data. Instead of

Re: [xwiki-users] passing POST query string

2011-05-18 Thread China Sunrise
Thank you both for the quick response! Will shift to getParameterValues() and give it a try. On Wed, May 18, 2011 at 9:33 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 05/19/2011 01:35 AM, Caleb James DeLisle wrote: The query string is literally the string which follows the ? in the url.

Re: [xwiki-users] RES: ERROR: XWiki 3.0M1 + Postgres + JBoss4.3 not working

2011-05-18 Thread Vincent Massol
Hi Ramon, On May 18, 2011, at 8:17 PM, Ramon Gomes Brandão - SERINT wrote: Hi, I've got it working. For PostgreSQL, in xwiki.db property from xwiki.cfg, it should be leaved commented out since the database name is already specified in the postgresql connection URL from