since ‎25-09-2012
‎09-08-2020
Jörg_Hoh
Employee
Re: SAML Custom AuthenticationHandler Can't Get User Info Jörg_Hoh - Adobe Experience Manager
Hi, that's getting very tricky now (and probably not a topic which can handled well in a forum). Anyway, I would agree, that your SAM implementation might be involved as well, because I am not aware of a need to extend the authentcation in such a way. Have you made progress here?
14
Views
0
Likes
0
Comments
Re: Install service pack without recompiling artefacts ag... Jörg_Hoh - Adobe Experience Manager
In many cases this approach works. But there are cases, where API changes are introduced (typically for security reasons), which make bundle imports not working anymore. But that's something you can find out very easily. But evn in that case I would suggest that update to the matching uber.jar asap. Jörg
25
Views
1
Like
0
Answers
Re: Attaching a header to the Oauth Token endpoint responses Jörg_Hoh - Adobe Experience Manager
Hi, You should check if this /oauth/token request is handled by Sling or outside of Sling. If you already tried using a (Sling) Filter to modify the response, this servlet is probably registered outside of Sling. To check that please go to http://localhost:4502/system/console/httpservice and check if there's a servlet registered to /oauth/token. If yes, then you need to register you filter to the OSGI http whiteboard. And example for such a filter is https://github.com/apache/sling-org-apache-sl...
29
Views
1
Like
0
Answers
Re: SAML Custom AuthenticationHandler Can't Get User Info Jörg_Hoh - Adobe Experience Manager
Hi, isn't it possible to retrieve group membership information via the standards? From what I understand, the AEM SAML authentication can do that for you. Why do you rely on custom properties to extract group memberships from? And actually the PostProcessors are invoked during the authentication, it is not running asynchronously. See https://github.com/apache/sling-org-apache-sling-auth-core/blob/master/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java#L520 Jörg
60
Views
1
Like
3
Answers
Re: Change user session for Anonymous URLs Jörg_Hoh - Adobe Experience Manager
Hm, that sounds quite problematic, because you need to proxy a request. If you are familiar with the QueryBuilder java API, you could write your own servlet, which checks against the external system and then uses the QueryBuilder API directly. You don't start a new HTTP request, but instead approach the API directly. And then you can also pass a different JCR session than the session the user is using; for example you can use a JCR system user.
15
Views
0
Likes
0
Comments
Re: Setup two Dispatchers in series arrangement Jörg_Hoh - Adobe Experience Manager
That's exactly the way how I solved the same issue 10 years ago, and I saw that it has been made configurable afterwards. But somehow it went missing ... Glad it works.
31
Views
0
Likes
0
Comments
Re: Why Adobe moved client libs from etc to apps? Jörg_Hoh - Adobe Experience Manager
ah, not really 🙂 /apps is immutable (no changes during runtime), and /etc is deprecated, because there was no policy at all, so both mutable and immutable data was dropped there. So from a product point of view /etc will go away over time..
92
Views
0
Likes
0
Comments
Re: Setup two Dispatchers in series arrangement Jörg_Hoh - Adobe Experience Manager
Seems I was wrong (and that this feature has been removed some time ago). In that case you have to use mod_header to rewrite the Via: Header. (as suggested by the others). Sorry!
61
Views
0
Likes
0
Comments
Re: AEM and Admin Console Synchronisation Jörg_Hoh - Adobe Experience Manager
It doesn't matter. Because under the hoods there is a group-id, which is different from the name. And you cannot change that ID of a group without removing and recreating it. That means if you can that name to TestAB, it will still sync, because its groupid is still "TestA" after all.
45
Views
0
Likes
0
Comments
Re: Setup two Dispatchers in series arrangement Jörg_Hoh - Adobe Experience Manager
There is an internal "loop detection" built-in into the dispatcher; the dispatcher adds a special header, when it forwards a request to AEM. If the dispatcher receives a request with this special header, it complains and will not forward the request anymore, because it assumes a loop.You can disable that feature if you add the Apache directiveDispatcherUseServerNameInVia 0to the httpd configuration of 2 (Third Party).
53
Views
2
Likes
0
Answers
Re: Assent API upload error Jörg_Hoh - Adobe Experience Manager
You can just POST a binary file to a location within AEM (see https://gist.github.com/sergeimuller/2916697#gistcomment-3354556 for an example)
78
Views
0
Likes
0
Comments
Re: Sitemap Behavior Jörg_Hoh - Adobe Experience Manager
Before you start creating a new sitemap implementation, please raise a ticket with ACS AEM Commons and ask if an improvement of the existing implementation makes sense. In that case I would ask you to contribute your functionality to the overall project, so you can avoid a custom implementation of it.
39
Views
0
Likes
0
Comments
Re: Assent API upload error Jörg_Hoh - Adobe Experience Manager
According to the response in the mentioned issue this tool requires AEM as a Cloud Service.
151
Views
0
Likes
0
Comments
Re: Sitemap Behavior Jörg_Hoh - Adobe Experience Manager
Hi, You can find the code here: https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/adobe/acs/commons/wcm/impl/SiteMapServlet.java#L273 It does not seem that there's a chance to prefer the non-vanity URL over the vanity URL if such a vanity URL is configured. Jörg
71
Views
1
Like
2
Answers
Re: Assent API upload error Jörg_Hoh - Adobe Experience Manager
I created https://github.com/adobe/aem-upload/issues/19 to find out if this supposed to work on AEM 6.5 at all.
164
Views
0
Likes
0
Comments
Re: Assent API upload error Jörg_Hoh - Adobe Experience Manager
Where do you get that message? What AEM version?
88
Views
0
Likes
0
Answers
Re: Change user session for Anonymous URLs Jörg_Hoh - Adobe Experience Manager
Hi,Is my understanding correct that based on certain criteria you want to switch an anonymous session into an authenticated session of a different user?Technically it should be possible (wrap the HttpRequest and inject a different session), but that's a lot of of work to make it right in all circumstances. What do you want to achieve with that? I am quite sure that there might be a simpler way to solve your requirement. Jörg
63
Views
2
Likes
2
Answers
Re: AEM and Admin Console Synchronisation Jörg_Hoh - Adobe Experience Manager
What do you mean when you write "permission"? The Adobe AdminConsole does not now about any permissions, but just knows users and groups and their relations (next to some other things, which are not significant for this question).The only direction in which there is a sync is from AdminConsole to AEM. That means that any user-to-group relationship visible in the AdminConsole is synced into AEM, but not the other way around. When referring to "permission" in the context of AEM, we normally mean t...
85
Views
1
Like
3
Answers
Re: Create an Asset using HTTP API Jörg_Hoh - Adobe Experience Manager
Hi, the problem seems to be:Exception while processing request to /api/assets/target-assets/new/hiking_5.jpg (org.eclipse.jetty.http.BadMessageException: 501: Unsupported Content-Encoding) org.eclipse.jetty.http.BadMessageException: 501: Unsupported Content-Encoding at org.eclipse.jetty.server.Request.extractContentParameters(Request.java:460) "Unsupported Content-Encoding" is definitely something caused by the request. The respective code is here: https://github.com/eclipse/jetty.project/blob/j...
69
Views
0
Likes
0
Comments
Re: Mutil Tenant Website Structure Jörg_Hoh - Adobe Experience Manager
No, you don't have to create an explicit blueprint.
69
Views
0
Likes
0
Comments
Re: HTL add attribute media & onload Jörg_Hoh - Adobe Experience Manager
Hi,this is actually invoking a code snippet provided by AEM, and it does not care about any other provided attribute.You can check the wcm.io extension to this snippet and see if it fits your requirement: https://wcm.io/wcm/ui/clientlibs/ Jörg
46
Views
1
Like
0
Answers
Re: Mutil Tenant Website Structure Jörg_Hoh - Adobe Experience Manager
Hi Amogh, since you are explicitly asking for validation "by someone from Adobe" I would suggest to get in contact with Adobe consulting. It is hard to validate if this is the best approach based on your requirements, just based on these few information your provided. Also the forum is probably not the best way to have this discussion.
89
Views
2
Likes
2
Answers
Re: Unable to post template from AEM Cloud to Adobe Campa... Jörg_Hoh - Adobe Experience Manager
Maybe this feature is not available yet. Please report to Adobe support and ask for that.
23
Views
1
Like
0
Answers
Re: How would I access a component on another page's node... Jörg_Hoh - Adobe Experience Manager
If I understand you correctly, some external logic (outside of the trouble-component) know where to get that content for that trouble-component from. But this logic is not reflected in the Sling-Model-Exporter, because SME does not know anything about that specific logic. If my assumption is correct, I see the problem in the fact, that the functioning of this component depends on many different aspects working together (the external logic, the trouble-component, and now also the SME). In your ca...
48
Views
1
Like
0
Answers
Re: Create an Asset using HTTP API Jörg_Hoh - Adobe Experience Manager
There must be a log entry (most likely an exception) in the error.log, which gives more information about this statuscode 500. Can you share that exception? (Very unlikely that the CSRF filter is causing this. Because a few user agents are explicitly listed, which are ignored by the filter.)
115
Views
1
Like
3
Answers
Re: AEM 6.5 - Binary Less replication in Shared S3 datastore Jörg_Hoh - Adobe Experience Manager
Thanks for the confirmation. I doubt that in your case the S3 datastore has something to do with it at all, because just the asset binary is stored in S3, and just iterating over the node and reading metadata will not trigger any read from S3.The fact, that you do this via a single scheduled job, makes me think that only a single thread is involved, which should not cause a problem at all on publish side. The upgrade from 6.3 to 6.5 also shouldn't cause this, but of course this makes me think th...
50
Views
0
Likes
0
Comments
Re: AEM 6.5 - Binary Less replication in Shared S3 datastore Jörg_Hoh - Adobe Experience Manager
Hi,your scenario is not really clear to me. I understand that you are replicating hundreds of assets in bulk and that during that time the publish instance is unable to respond to other incoming requests. Let me comment some of your statements:within 30 seconds 400-500 POST requests: That makes me think that the replication itself is quite quick. How do you trigger the replication on author? Using the standard "replicator.replicate()" method or do you use synchronous replication with many thread...
80
Views
1
Like
2
Answers
Re: Properties order Jörg_Hoh - Adobe Experience Manager
Properties are unordered, and I never had a requirement where this was really a problem. If you describe your usecase we can probably come up with a recommendation how you can solve it without relying on the order of properties. Jörg
107
Views
1
Like
0
Answers
Re: OAK index for null checks (nullcheckenabled) Jörg_Hoh - Adobe Experience Manager
Hi, For the sitemap I wouldn't use search, because it doesn't comes with benefits. For the JCR query you need to deal with the query (which just iterates through the index) and after that you still need to lookup all remaining pages from the repo. Assuming that you don't have much pages which should not appear in the sitemap a simple traversal of the content tree is easier to implement (no custom index, simple traversal) and has about the same runtime performance.
120
Views
1
Like
0
Answers
Re: Is there a way to import MySQL database into CQ5 Jörg_Hoh - Adobe Experience Manager
The product is no longer called CQ5 (that renmaing happend at least 5 years ago), so you probably do have a very old version of it running. Regarding your question: Storing SQL data in the AEM repository is no good idea, as it is not designed for it. If your goal is to show the charts inside an AEM page, I would agree to the approach suggested by @rajas66269496 and use an iframe to embed the output created by your PHP script.
100
Views
1
Like
0
Answers