Hi everybody!
I changed somethings in our XWiki source and now I want to make a
component or something like it to share with all of you, possibly
including it in the official source code.
This is the modifications I made:
* Store every attachment (including its revisions) in the filesystem,
not in the database (able to customize the storage folder in
xwiki.cfg).
* Set a "default group" to XWikiLDAPAuthServiceImpl, where all users
logged through Active Directory is automatically added to this group.
This is a workaround for the "Default Group" problem on Windows, where
the users belongs to the group in Active Directory but the "memberOf"
property comes empty.
My problem is I could not find an up-to-date tutorial about writing
components. I also could not find a simple explanation about how to
tell XWiki not to use XWikiHibernateAttachmentStore and
HibernateAttachmentVersioningStore, using my classes instead.
By the way, I'm not an advanced Java programmer, so I need the things
well explained! ;) Anybody can help?
Best regards!
Felipe Giotto