I tried the configuration which you mentioned in the screenshot and it dint work. Can you please confirm if you add any other configurations to make this work?
Hi All,Is there a better way to consume aem asset in non aem application?Let's say, I have assets stored in AEM Assets. Now I need to consume this assets in traditional java application.Thanks,Swati
Hi All,Need to remove one property on hit of OOTB signout action(like how login-token is removed , on user logout). And this is not custom logout action. This requirement is for OOTB logout action. Any idea, how to achieve this?Thanks,Swati
In filter I am parsing one of the request attribute ('request-parts-iterator') to fetch uploaded file from OOTB DAM upload buttton. I am reading the inputstream stream from it and enabling antivirus scan for the uploaded file. Once scan done, I am doing chain filter(chainfiltter.doFilter(request,res...
Hi Arun,You suggesting to call doFilter twice?I noticed the actual problem is reading the attribute twice. When I read the request attribute in filter and again in next level when actual logic is using the same parameter then it is not available and the actual functionality is breaking.Thanks,Swati
Hi,We have one sling filter performing some business logic and this is chain filter. But in the logic, we are processing Iterator Object from request attributes. And the same iterator is getting used in next level of chain.When we try to parse the Iterator in next level we are getting error"Paramete...
Thanks, Scott.Below is the some more info for your reference,Iterator<Part> partsIteratorone = (Iterator<Part>) request.getAttribute("request-parts-iterator");logger.info("Request Parts Iterartor{}" , request.getAttribute("request-parts-iterator"));boolean scanFileResponse = false;Part part = partsI...
Update:I am able to parse the multipart form data with below line of code,Iterator<Part> partsIterator = (Iterator<Part>) slingRequest.getAttribute("request-parts-iterator");But unable to parse whole parts.When I checked the network response, I can see three parts available in the request. But I am ...
Hi ,smacdonald2008I already tried with the above code, but the requestparametermap is coming empty. I have debugged for the attributes and getting that specific attribute to parse the uploaded file.But now the problem is with filterchain. I am triing to forward the chain request to next level , at...