Oliver Zeigermann <oliver.zeigermann <at> gmail.com> writes:

> 
> On Mon, 17 Jan 2005 23:11:05 +0200, Roman D <dostick <at> gmail.com> wrote:
> > We have WCK implementation and JAAS login modules.
> > JAAS is implemented at Tomcat level of because of Slide/WCK limitation
> > that you can have only one JAAS login module.(We need to have two login
> > modules simultaneously).
> 
> Why can't you have more then one LoginModule?
You can have several LoginModules, but here is how it is done in WCK.
org.apache.slide.simple.authentication.JAASLoginModule 
is expecting from
org.apache.slide.simple.authentication.SessionAuthenticationManager to make
decision if a user is valid or not for Slide/WCK. If the user is valid
SessionAuthenticationManager will create a connection object for WCK. So
SessionAuthenticationManager plays the role of LoginModule. From other hand WCK
expects to have only one connection object.

Sergey


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

Reply via email to