I’m using this document for some things … to decide what to put in ‘Plugin Documents’ and what to put in the readme.html file of the plugin … and why webMUC is not yet ready.
So everything you find here may be wrong and not yet available as code.
Feedback is wanted, even if this is only a test.
or Current Release --> see changelog.html
–> see readme.html
alpha/beta/stable --> see readme.html
?? link to JIRA ?? do get developers JIRA access ??
?? link to SVN ?? do get developers SVN access ??
Feedback and Discussion
It comes with an AccessLog module which allows all web* plugins to write a user defined log file (CLF, NCSA, …). Even the Openfire admin console and core components (like XMPP authentication) can use it.
Define the property plugin.webauth.templatedirectory=/foo/bar/ while in /foo/bar you need to put the index.html file which is used for authentication and should contain a form like:
<html> <frommethod="POST" action="https://yourdomain/plugins/webAuth/login.jsp"> <input name="JID" type="text" size="30" maxlength="3070"> <input name="pass" type="password" size="10" maxlength="32"> </form> </html>
If the webMUC plugin needs to authenticate the user it will send a redirect to “https://yourdomain/plugins/webAuth/login.jsp?location=https://yourdomain/plugins /webMUC/” to the browser, so after successful authentication the webAuth plugin will send a redirect to the value of ‘location’.
Add logout.jsp to allow the user to logout.
Count the login attempts to avoid password hacking using various techniques like adding Captchas to the login page if the first login did fail or block IP addresses.
Allow to run this as an XML based Webservice.