How to read to the contents of "Authentication requirements" (Apache Sling Authentication Service) using code?
I have this code that reads the contents of the module above
ConfigurationAdmin configAdmin = getSlingScriptHelper().getService( ConfigurationAdmin.class );
Configuration conf = configAdmin.getConfiguration("org.apache.sling.engine.impl.auth.SlingAuthenticatorß");
@SuppressWarnings("unchecked")
Dictionary<String, Object> props = conf.getProperties();
I put at breakpoint (eclipse user here if it matters) on line 5 to inspect the value of props and conf variables. I've drilled down on the folder-like structure but I cannot find what I'm looking for.
When I view the service via
http://localhost:4502/system/console/configMgr/org.apache.sling.engine.impl.auth.SlingAuthenticator
I can see several values for "Authentication Requirements" (screenshot below). Any ideas on how to do it? Thanks
