Supporting a new access profile
You can create new views of the data returned by a service by defining a new access profile.
Procedure
- Optional: Add the access profile to MyServiceModuleFacadeConstants.java in the MyServiceModule-Client project.
- 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.
- 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.
- Follow the steps in Implementing access control in the BOD command framework