Novell Home

Using the iManager Plug-in Studio to Customize Your Own Plug-in

Novell Cool Solutions: Feature
By Magnus Hoglund

Digg This - Slashdot This

Posted: 16 May 2007
 

Problem

Administrators needed a common way (iManager) to administer our MobilityGuard (authentication and authorization) server. Even though MobilityGuard can (as many others) use an LDAP directory for authentication and storing policy information, it uses its own tool for administration.

Solution

Use iManager 2.6 Plug-in Studio to customize a plug-in for MobilityGuard so that administrators can use iManager to administer MobilityGuard users.

Plug-in Studio Example

1. Log in to your iManager server and click on the Configure icon.

2. Click on Plug-in Studio.

Figure 1 - Role-Based Services in Plug-in Studio

3. Click New.

4. Check the box to add the aux class "mguard", then click Next.

Figure 2 - Adding the aux class

5. Add attributes by double-clicking the attribute name in the list.

Figure 3 - Adding attributes

6. Click "Change control to" on the Group Membership field and choose MVCheckbox.

Figure 4 - Choosing MVCheckbox

7. To customize labels, click "View or modify parameters" located on the plug-in field.

8. Click "View or modify parameters" on the Group Membership field.

9. Provide a custom label if you want.

10. Click on the browse icon and choose groups that should be available in the plug-in.

Figure 5 - Choosing groups for the plug-in

11. Click OK when done.

12. Provide a name for your plug-in (MobilityGuard in this case).

13. Choose your RBS Collection by clicking the browse icon, then choose a RBS role for your plug-in. You can create your own Role if you want; I just selected the eDirectory Administration Role.

Figure 6 - Choosing an RBS role

14. Click on Preview at the top.

Now you get a preview so you can test you plug-in before installing.

Figure 7 - Preview for testing

15. Select a user in your tree.

Figure 8 - Selecting a user

16. Click OK twice to go back to Plug-in Studio.

17. If you're satisfied with the results, click Install at the top; or, change the configuration to reflect your needs.

18. After installing your plug-in, go back to iManager Roles and Tasks.

19. Click the Directory administration Role to see your MobilityGuard plug-in.

Conclusion

This plug-in will add the user to selected groups, set attribute values for authentication methods and add the mguard aux class to the user object.

This is just an example to show how easy it is to customize you own plug-in using iManager 2.6. For more information, see the Novell iManager documentation:
http://www.novell.com/documentation/imanager26/index.html


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell