Adobe

Netcentric AC Tool – Adding Service Users to Your YAML Files

Webp.net Resizeimage 69

In my last post, I showed you how to create your YAML output files.  By default, these files do not contain any user information, however, the tool does give you a pretty easy way to include these by using an OSGi configuration.  The only drawback to this approach is that you can’t change it without changing the config.  In the next post, I’ll show you how to create your own custom servlet to generate a custom YAML file.

In AEM, go to the Configuration Web Console (<host:port>/system/console/configMgr).  Then, open the “AC Tool Dump Service” configuration.  Check the box by “Include users in dumps”.  Also note that even though it says “users”, it only includes Service Users, not regular users.  Hopefully, they will rename it to say Service Users, as it’s a bit misleading.

The Digital Essentials, Part 3
The Digital Essentials, Part 3

Developing a robust digital strategy is both a challenge and an opportunity. Part 3 of the Digital Essentials series explores five of the essential technology-driven experiences customers expect, which you may be missing or not fully utilizing.

Get the Guide

Osgi

Save your changes.  What this does is adds a new section to your YAML files called “user_config”, and it includes service users’ information.  It also adds service user ACLs to the ace_config section of the file.

 

About the Author

Diana is a Senior Solutions Architect

More from this Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to the Weekly Blog Digest:

Sign Up