Michael Baranov schrieb:
Hi!

How do I have a member section in lenya (live mode). I want to authenticate members against an existing external source. I also want to have self-registration page/module. Any suggestions which way to dig?

If you want to use a custom authentication mechanism, you have to implement a custom access controller. There's not much documentation about it, but the concept is quite simple. Some docs are in the 1.2 section:

http://lenya.apache.org/docs/1_2_x/components/accesscontrol/authenticators.html

Basically you have to implement the Authenticator interface:
http://lenya.apache.org/apidocs/2.0/org/apache/lenya/ac/Authenticator.html

For an example of authentication against an external source, you could take a look at the Shibboleth branch:

http://svn.apache.org/viewvc/lenya/branches/branch_1_2_x_shibboleth/

especially the ShibbolethAuthenticator:

http://svn.apache.org/viewvc/lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/shibboleth/ShibbolethAuthenticator.java?view=log

HTH,

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to