on 10-09-2007 10:59 AM
Hi friends,
i implemented SSO using User Mapping between Portal and .Net Application.
i am able to map user one by one to the system. but can any body tell me
how we map Multiple user to the system. is theer is any wany to map 100 or 200 user to the system. please help me out this problem..
your answer will helpfull for me.
Regards
Rashmi Sharma
The right approach is to create a new group and assign all the users to the newly created group.
Now do the required user mapping for this group.
This user mapping will be used for all the members of the group.
This is a scalable solution, as new users will simply be added to the group for the user mapping to take effect.
Regards,
Prasanna Krishnamurthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
write a standalone application, which will update their mapping data.
Check IUserMappingData, which will help you to save the user mapping data.
IUserMappingService umsvc = PortalRuntime.getRuntimeResource().getService( IUserMappingService.KEY)
IUserMappingData umdata = umsvc.getMappingData ("SYSTEM_ALIAS", user );
Map map = new HashMap();
umdata.enrich(map);
map.put("user","user id");
map.put("mappedpassword","password");
umdata.storeLogonData(map);
i have not tested this API, but i believe it should work.
[User]
uid=<b><user id></b>
$usermapping$:<b><alias></b>:user=<b><backend userid></b>
$usermapping$:<b><alias></b>:mappedpassword=<b><backend password></b>
for each user - if you are doing it by bulk assignment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
assuming you allow users to perform their own personalisation you could make them responsible for completing their own mapping data for that system.
There may also be a way to bulk upload mappings - ill see if I can dig out some information.
Haydn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If your users map one-to-one to your backend system (with different names) then no.
You have options if your users map to a smaller set of users - you can provide mappings based on group or role membership for example.
Haydn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.