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.

Customer Experience and Design - Build a Better Customer Experience with AEM on Microsoft Azure
Build a Better Customer Experience with AEM on Microsoft Azure

Businesses leveraging the two technologies together would now be able to harness their data for critical insights and predictions, connect customer touchpoints across their business, and drive brand loyalty and growth.

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