Skip to main content

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.

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.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

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

Diana Henrickson, Senior Solutions Architect

Diana is a Senior Solutions Architect

More from this Author

Follow Us