how far have you performed the integration ? what is integrated actually and how ?
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 ?
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.
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...
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
I will look it up and will keep you updated.