Hi All,

I am struggling to find out a way to map my J2EE application roles to
roles in LDAP.. Say I have a role defined in my web.xml named 'My
Role' and I wanted to map it to say all users who are authenticated in
the system. For your information I am using J2EE security/container
managed authentication for this purpose... FORM BASED Login..

I do know that we can map this role by navigating to Installed App>My
Application> Security and role mapping.. in thr server;s admin

But my application do have 20+ odd web modules.. (huh!! I know its
pretty large.. :-)).. I want to map these roles using some
automation.. say JACL script (as we are using JACL to deploy our

so my question is.. is it feasible... and how can we automate this ..?

Any help in this regards.. would be great to me.

Gaurav Daga
Gaurav.Daga at in.ibm.com