On Jul 29, 2008, at 11:01 AM, Ashwill, Steve (Facilities & Services) wrote:

I have Jetspeed 2.1.3 running under Tomcat. I am writing my own login,
but I can't get it work.

Can someone give me a checklist of everything that needs to be done?



I was guessing that you had it figured out, since writing your own login module should not be any different than using Jetspeed's.

First, here are the docs:

http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/login-module.html
http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/atn.html

Notice that it states to place your login.conf in WEB-INF/classes, ahead of Jetspeed's
Here is an example of Jetspeed's:

Jetspeed {
   org.apache.jetspeed.security.impl.DefaultLoginModule required;
};

From your emails, I believe you got that right.

I believe you are going to also need to look up your users with the User Manager into your database. This can be achieved by writing a user security provider and configuring it with Spring.
Docs:
http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/arch.html
http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/config.html

The user security provider is configured in security-spi-atn.xml

Sorry I let this drop off, but I could not come up with a reason as for why your login module would not be found, if placed in WEB-INF/lib just like Jetspeed's
Please post back your progress and I will try to help

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

Reply via email to