WebSphere Application Server - copying ibm-application-bnd.xmi

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > February 2007 > copying ibm-application-bnd.xmi





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author copying ibm-application-bnd.xmi
jag@aschulman.com

2007-02-21, 7:17 pm

I am deploying a newer application and I would like to give user access from a different application. Could I just copy the contents of the above file to the new application. Any help is appreciated.


Thanks
Jag
Paul Ilechko

2007-02-21, 7:17 pm

jag@aschulman.com wrote:
> I am deploying a newer application and I would like to give user
> access from a different application. Could I just copy the contents
> of the above file to the new application. Any help is appreciated.


No. ibm-application-bnd.xmi is created by mapping registry principals to
J2EE application roles. It's usually unlikely that two applications will
contain the exact same roles, or that you will want to give the same
user groups identical access. If you do, you're probably not thinking
very deeply about security.

You can do the mapping in RAD, in the application server toolkit, or you
can script it.
jag@aschulman.com

2007-02-22, 1:19 pm

Paul
Thanks for your info. Probably I should have detailed my issue. The issue is I am upgrading (the application) to a newer release from my vendor. My older version of the application already has about 25-30 users (under map sec roles to users/groups) and I
would like my new applications to be mapped to those users/groups. I was wondering, If I could copy the above xmi entries (to ibm-application-bnd.xmi) for the newer application and restart my instance should be enough or there is better to copy the mappe
d users.


Thanks for your help.
Jag


Paul Ilechko

2007-02-22, 1:19 pm

jag@aschulman.com wrote:
> Paul Thanks for your info. Probably I should have detailed my issue.
> The issue is I am upgrading (the application) to a newer release from
> my vendor. My older version of the application already has about
> 25-30 users (under map sec roles to users/groups) and I would like my
> new applications to be mapped to those users/groups. I was wondering,
> If I could copy the above xmi entries (to ibm-application-bnd.xmi)
> for the newer application and restart my instance should be enough or
> there is better to copy the mapped users.


I don't know if it would work, but probably not. Also, you really should
be mapping groups, not users, then you would have much less maintenance
to do.
jag@aschulman.com

2007-02-22, 1:19 pm

Paul
Thanks for your suggestion. It definitely a good one, I missed it.
Jag
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com