You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Ashwill, Steve (Facilities & Services)" <sa...@uiuc.edu> on 2008/07/29 20:01:14 UTC
How do you build a custom login module
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?
Steven Ashwill
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
RE: How do you build a custom login module
Posted by "Ashwill, Steve (Facilities & Services)" <sa...@uiuc.edu>.
I never did figure out what was wrong, but we took a different approach
and it is working now. Thanks for the help.
-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com]
Sent: Tuesday, July 29, 2008 2:10 PM
To: Jetspeed Users List
Subject: Re: How do you build a custom login module
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/logi
n-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/conf
ig.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: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: How do you build a custom login module
Posted by David Sean Taylor <da...@bluesunrise.com>.
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: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org