Sample Data for Dynamic Service Activator
The application library CD includes sample data. For information about installing the sample data, see Chapter 1, Installing the SDX Applications. The sample data contains an example of Dynamic Service Activator in l=DynamicServiceActivation, l=WebApplication, ou=staticConfiguration, ou=Configuration, o=Management, o=umc. The sample Dynamic Service Activator is configured as follows:
- Namespace properties—For the location of the logging subsystem's configuration properties. Logging properties are located in and inherited from the WebApplication object.
- Namespace properties—For the various subscriber types.
- NIC proxy properties—For each subscriber type.
- Permissions—Specifically for each method and script.
Methods, Scripts, and Clients
The sample data shows several methods and one script in the methods/scripts pane of the DynamicServiceActivation.xml file. The methods are configured as follows:
- Clients Fred and Joe have access with no constraints to the Subscriber_readSubscription method.
- Client Joe has access to the Subscriber_activateService and the Subscriber_deactivateService methods with no constraints. Client Fred, however, can use these methods only to manage services with names that start with "Audio."
- Client Fred can also use the Subscriber_modifyService method for services with names that start with "Audio." Client Joe cannot use this method, but he can see the Subscriber_modifyService method for all services.
- Client Joe is the only client who can use the Subscriber_login and Subscriber_logout methods.
- Both clients Joe and Fred can use the invokeGwExtension method.
The script is configured as follows:
- Client Bob can use the Echo method. The script requires that the fourth argument be an IP address that starts with 10 (the IP address has the form 10.x.x.x).
- Client Joe can use the Echo method without restriction.
PCMM Available Services
The sample data has two global PCMM services and two PCMM clients configured: