Hi Harry,

If I want to write a custom login module for JSPWiki, do I need extend any 
class from JSPWiki? JAAS is quite new to me. I had a quick look about JAAS and 
JSPWiki source code. It seems I may need to extend 
*com.ecyrd.jspwiki.auth.login.AbstractLoginModule* in order to write a custom 
login module. Do I understand correctly?

Best Regards,
David

-----Original Message-----
From: Harry Metske [mailto:[email protected]] 
Sent: Saturday, October 29, 2011 11:04 PM
To: [email protected]
Subject: Re: how to write my own authentication

David,

jspwiki uses JAAS, so you can write your own JAAS Login Module.
A long time ago a wrote one myself and documented it a bit :
http://www.jspwiki.org/wiki/JSPWiki%20on%20the%20Mainframe#section-JSPWiki+on+the+Mainframe-JAASLoginModule

That page also has a jar attached containing the source.

kind regards,
Harry


2011/10/28 Gao, Jian-Min (David, ES-BEST-Shore-Services-China-SH) <
[email protected]>

> Hi list,
>
> I would like to write a custom authentication module, but I don't know
> where to start with. Do I need to extend class AbstractLoginModule? I
> didn't find any information quite useful on jspwiki.org.
>
> Best Regards,
> David Gao
>
>

Reply via email to