Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

I want to read the contents/settings of Apache Sling Authentication Service. How can I do it?

Level 2
Level 2

I don't need the full code. even a sample code that reads another AEM service/package.

just some guides on what to do. I searched the net but didn't find anything useful. Thanks

0 Replies
Level 7
Level 7

Use ConfigurationAdmin

Configuration configuration = configurationAdmin.getConfiguration("");

Then configuration.getProperties() would give you a dictionary of properties..

Fetch individual values like : configuration.getProperties().get("auth.sudo.cookie")