Supporting a new access profile

You can create new views of the data returned by a service by defining a new access profile.

Procedure

  1. Optional: Add the access profile to MyServiceModuleFacadeConstants.java in the MyServiceModule-Client project.
  2. Update the query template file for the service module to register the access profile. See Creating an access profile for an existing XPath expression for more details.
  3. Optional: Create and register a InsertMoreNounDataCmdImpl, following the steps in Modifying a Get service to use business logic to insert more data for a specific access profile if you want to use business logic to insert more data into the noun that cannot be returned using the Business Object Mediator.
  4. Follow the steps in Implementing access control in the BOD command framework