-
1. Re: User preferences with LDAP integration
julien1 Sep 26, 2005 5:23 PM (in response to sandeeppujar)how far have you performed the integration ? what is integrated actually and how ?
-
2. Re: User preferences with LDAP integration
sandeeppujar Sep 26, 2005 6:13 PM (in response to sandeeppujar)We use JAAS, we have added an application-policy in login-config.xml
for our LDAP, and changed the <security-domain> in jboss-web.xml to
use our LDAP.
Did I answer your questions ?
Thanks
Sandeep -
3. Re: User preferences with LDAP integration
julien1 Sep 26, 2005 6:30 PM (in response to sandeeppujar)the integration with the mysql based user store will work if the users are inserted in the database with the same req.getRemoteUser() string.
we have thought about making the user store automatically create a user if the user succesfully authenticate on a previous login module. -
4. Re: User preferences with LDAP integration
sandeeppujar Sep 26, 2005 7:21 PM (in response to sandeeppujar)Once the user is authenticated by our LDAP module, the user in request.getRemoteUser() is the user who has just logged in. I can see the user name when I print it.
Will this feature "making the user store automatically create a user...."
be available soon.
Is ther someway I can make it work, please guide...
Thanks
Sandeep -
5. Re: User preferences with LDAP integration
julien1 Sep 26, 2005 7:45 PM (in response to sandeeppujar)yes, you can help here and I think it is not too much difficult to do.
the best place to do that is in head of cvs (jboss portal 2.2).
The jaas module we use is ModelLoginModule. This login module uses the UserModule (which is not a jaas login module but a portal service) to find the user to log in.
If the user does not exist it could create it using the same service (UserModule).
Also you have to use password stacking that allows you to pass information between login modules.
A good reading is : http://docs.jboss.com/jbossas/admindevel326/html/ch8.chapter.html#d0e15066 -
6. Re: User preferences with LDAP integration
sandeeppujar Sep 26, 2005 7:49 PM (in response to sandeeppujar)Thanks Julien,
I will look it up and will keep you updated.
Thanks,
Sandeep