Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Dear Members,
I tried adding custom values to below AEM config under /apps/*/config
org.apache.sling.engine.impl.auth.SlingAuthenticator
org.apache.sling.servlets.resolver.SlingServletResolver
And whenever I restart my instance, I get Resource at '/' not found: No resource found and also when I logout from home screen, same error.
Also, when I go to http://localhost:4502/crx/de/index.jsp# and login from CRX, I am back in session.
Any help appreciated.
Thanks
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
If you get that message it seems that you broke/misconfigured the authentication system.
Hi @Love_Sharma,
Please provide the details of properties that are modified as part of the mentioned configs. (Sling Authenticator and Sling Servlet resolver) and reason for the same/functionality you are trying to achieve.
@Vijayalakshmi_S OOTB properties were not touched and I added my own custom property as shown below. When I tried putting these new values in code base under /config, I encountered the error. I tried putting just the new values adding -domain to the config's PID & using OOTB PID as is mentioning existing and custom values but the time I restart my AEM, I face the issue.
Zugriffe
Antworten
Likes gesamt
The two configs shared are not factory configs. Hence we need not add any identifier say "-domain" to the PID while creating OSGI config via code - Remove the same and try.
Alternatively, to assure the issue is not with values you mentioned for the properties, in another fresh instance add these values directly in Felix console instead of code/config node -> check if it works fine.
Zugriffe
Antworten
Likes gesamt
Hi,
please don't change these settings like this. The configuration in the servlet resolver allows anyone (with write access) to place JSPs within /content/ and get them executed. That's definitely a security concern.
The config change for authorization has less side effects regarding security, but I would definitely question its usefulness. I think that you are having an authoring instace here.
Zugriffe
Antworten
Likes gesamt
Zugriffe
Antworten
Likes gesamt
Jörg_Hoh What I understood from your security concern, we should not edit these configuration with custom values and think of other way to do it ? Please correct me if I get this wrong. Also, if you could educate more on this topic it will be helpful
Zugriffe
Antworten
Likes gesamt
Zugriffe
Antworten
Likes gesamt
If you get that message it seems that you broke/misconfigured the authentication system.
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten