I have pushed a new version of the code onto github
http://github.com/bblfish/keygenapp
Again this can best be downloaded with
$ git clone git@github.com:bblfish/keygenapp.git
It is easier to download it from there for the moment rather
than me pushing very early material on a maven repository,
where you may still have a lot of comments to make about the code.
There is a very simple readme in the xwiki directory
which shows how one can install this in 4 very easy steps.
http://github.com/bblfish/keygenapp/blob/master/xwiki/README.txt
I tested this with a fresh install of the latest snapshots from
http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise-je…
And I will be working on a branch, so that what you pull
from the master branch remains stable.
I think I have addressed most of the issues below, but there
will certainly be comments and improvements that will come
from usage. (One thing I was not able to test was Internet
Explorer support)
Next I will write a module so that people can login to XWiki
using the certificates they made there or elsewhere.
All the best,
Henry
On 24 Feb 2010, at 10:15, Vincent Massol wrote:
Using the XAR plugin is very very easy. Just look at how it's done here:
http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/trunk/
In term of naming best practices we don't use "_" in page names and pages
start with an uppercase. So in your case that could be:
- XWiki.FoafSslRsaPubKey.xml
- XWiki.FoafSsslCreateCert.xml
Although I believe you could also use a space of FoafSsl and put the pages in it:
- FoafSsl.RsaPubKey.xml
- FoafSsl.CreateCert.xml
the first one there is just a class,
Re class naming we usually prefix with Class, so that would be:
- FoafSssl.RsaPubKeyClass.xml
the second one is a script that will allow you to
get a certificate in one click.
In order to then have that be visible to your homepage you need to replace the content of
the
XWikiUserProfileSheet with the content of
src/main/resources/XWiki/XWikiUserProfileSheet.html
Hmm... We'll need to find a way to keep the existing profile sheet as it is (for
users who don't want to install the FOAF/SSL extension) and at the same time be able
to add your extension.
Guys, any idea?