Jai1122
Community profile Jai1122 Level 3
Job title here
Location here
9 BADGES
Level 3

Level 3

Learn more
Joined the community 07-04-2015 3:11:55 AM
Offline
Top badges earned by Jai1122
Customize the badges you want to showcase on your profile
Re: Session Handling
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Jörg_Hoh, Thanks for your response. Couple more questions. 1) I am working on a custom authentication handler, if i do a repository.login(credentials), should i close the resulting session? eventhough i am creating a token if the user is valid, i am not sure if i should close the session. 2) I will be creating resource resolver for every request made to authentication handler and will pass it to the component methods which inturn will be used obtain the session in component. In this case shou...

Views

236

Likes

0

Replies

0
Re: Session Handling
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Thanks for your response. One more question, what about session. Should it be closed every time I get it?

Views

223

Likes

0

Replies

0
Session Handling
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, I am writing a Sling Component which a Servlet can use to read and write properties from and to the repository.Since there are many custom properties and each property updation will be mapped to a different method, is it advisable to initiate the resource resolver in the activate method of the component and then use it to adapt the session object in each method. Below code is a sample. @component public class RepoUtil{ private ResourceResolver resourceResolver; private javax.jcr.Sess...

Views

348

Likes

0

Replies

7
AEM Bundle Whitelisting
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, We are using AEM 6.4.5 and working on a custom authentication handler. Eventually the handler will invoke TokenUtil, something like.TokenUtil.createCredentials(request, response, this.repository, userId, true);Internally TokenUtil does the following,repository.loginAdministrative((String)null); Meaning we need to whitelist the bundle. However, Adobe has recommended that whitelisting is not a good idea and definitely not advisable for production instances. I could see this question al...

Views

213

Likes

0

Replies

2
AEM - Multiple implementation of a Sling Service
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, Per the accepted answer of this post, "If you have 2 services implementing the same interface and you want always to get the first or second service implementation, then your design is flawed. You should use different service interfaces then". I would like to know the reason why this design is flawed. Kindly enlighten. Regards,Jai

Views

296

Likes

0

Replies

2
AEM Custom Authentication Handler Issue
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, I am working on implementing custom authentication handler for AEM 6.4 with MFA - OTP Code. Author submits the username and password and if valid then redirected to a otp page to capture the OTP code shared via email. Problem is once user submits the otp code, an error comes up "http://localhost:4502/j_security_check Access to localhost is denied" with error code as 403. And log entry as org.apache.sling.auth.core.impl.SlingAuthenticator handleSecurity: AuthenticationHandler did not ...

Views

255

Likes

0

Replies

1
Accessing Nodes while package installation
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi All, I would like to know how aem behaves if user requests a resource which is getting updated by package installation. In our case, a particular node has a list of json files as children. A certain activity by author will create a package of all this json nodes and replicates it to publish and also custom replication handler will flush the dispatcher cache of the json files. If user requests one of the json files, since the json is not available in cache, request will hit publish instance. B...

Views

208

Likes

0

Replies

2
Content Migration Approches
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, We are facing difficulties with migrating content from Production to lower regions. We have a huge AEM content which serves 100+ markets and has MultiSite Management in place.But for development and other related activities, it will be of great help if we can sync content in production with lower regions like UAT or Integration. We want this sync process to have minimal manual activity.I could think one process wherein a package will be created for one market and that will be dropped...

Views

871

Likes

0

Replies

1
OSGI Console Documentation
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts,There are lots of configurations available in OSGI Console. Is there a place where all the configurations/features available in OSGI Console are documented.If yes please guide me to that resource.Regards,Jayapal.S

Views

697

Likes

0

Replies

1
Re: [New] Welcome to AEM Community! Please Introduce Yourself
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hello All, I am Jayapal, associated with AEM for the past four years​. I have benefited so much because of the discussions in this forum. Good to see lots of knowledge sharing happens here. Looking forward for more AEM learning.Regards,Jayapal.S

Views

6.6K

Like

1

Replies

0
Design Importer - Replication
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, We are using design importer for one of our landing pages. Whenever author imports a zip file the page gets painted with contents of zip file which is as expected.It also creates the script files under /etc/designs. The challenge is when author activates the page the contents of /etc/designs is not getting replicated. This means every time author wants to replicate a landing page created through design importer then he has to activate the /etc/designs separately which is not advisabl...

Views

963

Likes

0

Replies

2
Re: Debug Layout details
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Thanks a ton

Views

1.4K

Likes

0

Replies

0
Debug Layout details
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, When i try to append debug=layout to my AEM page it is giving the following details for each component.res=/content/mypage/en_GB/index/jcr:content/header/title sel=h1 type=myapps/components/content/titlecell=homepage/header/title sp=homepage|contentpage|page/header/title I can deduce that res means resource in content and type is sling:resourceType of that resource. Can some one please let me know what sel,cell,sp means?

Views

2.3K

Likes

2

Replies

4
Re: Yellow Coloring of Images
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
It happens on random images. The challenge is there is no real logic/ connection between the images that turn yellow and nothing in logs as well.

Views

1.1K

Likes

0

Replies

0
Re: Yellow Coloring of Images
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
edubey wrote... Do you have any workflow which act upon these images when they are uploaded to DAM.? sometime back, I saw a similar issue with ACS named transformation servlet but it was not affecting image in DAM. thanks No workflow acted upon these images. We do have a ACS Named Transformation Servlet but nothing is configured to it and so i believe that servlet will not cause any harm. Thanks.

Views

1.1K

Likes

0

Replies

0
Re: Yellow Coloring of Images
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
smacdonald2008 wrote... Support team replied: There were a couple similar cases (with blue color instead) that were fixed by upgrading Java 8 to u77 or higherOne other thing you may want to investigate is the source and destination color spaces. Conversion from four color often results in color shift, color and direction determine s by source color space and profile.Can you tell us how to check the the source and destination color specs?

Views

1.1K

Likes

0

Replies

0
Re: Need help on MSM architectural designs
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Thank you Prince Shivhare

Views

679

Likes

0

Replies

0
Re: Need help on MSM architectural designs
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi, Yes i am registeered for Solution portal. But i could not find any videos on MSM.

Views

672

Likes

0

Replies

0
Re: Yellow Coloring of Images
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
smacdonald2008 wrote... Is this occur on 1 server or you have seen this on multiple servers. Certainly there is no feature in AEM that turns images yellow. If you download the images - are the modified. It is happening in author itself. And we have only one author. If we download the colored images, it still looks colored.

Views

1.1K

Likes

0

Replies

0
Re: Yellow Coloring of Images
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
adobecquser cq wrote... Hi Jai1122, Is it something like the images turn yellow while in DAM or when they show up on the page? It looks yellow in dam as well as on the page Is it specific to certain formats? Does not seem to be specific for format. We observe it to happen for jpeg, png and even for thumbnails in pdf.The images are created making use of any 3rd party systems? We use photoshop basically. Basically is there any sort of additional info, which sets those images apart from rest. We co...

Views

1.1K

Likes

0

Replies

0
Re: Need help on MSM architectural designs
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi, Do we have anyother sources other than Adobe Docs? I am not sure if any guidence is available in Solution Partner portal. I would like to explore more on this. Please help me with your ideas

Views

668

Likes

0

Replies

0
Yellow Coloring of Images
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, We are experinencing a weird issue. Images in our websites turns yellow. There is no particular order or something just some images become yellow randomly.We could not find anything in logs as well. We tried to delete the image and re-upload it to dam. It resolves issue for few images but not for all. Infact images uploaded into dam months ago have now started to appear yellow. We have field a daycare as well but since there is no way to reproduce the issue we are not sure how to pro...

Views

3.4K

Likes

0

Replies

13
Caching response from servlet
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, We have two ways of registering a sling servletRegistering through pathRegistering through resource type.Say we use the second option, I have a page component /sampleproject/page/homepagecomponent and i register a servlet using this component. This means whenever i access a page created using this component(/content/home.html) the servlet will get invoked and the response from the servlet will be used to render the page. It does not matter whether the call is from the browser or it i...

Views

1.4K

Likes

0

Replies

2
Re: Unable to access libs/granite/csrf/token.json from an external application which is not in AEM
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Rohit Nalla wrote... abhishekb wrote... That error suggests you didn't add http|https to the URL. Try accessing the token url directly from the browser and check if you see the token. If I access the token url directly(local instance publish - http://localhost:4503/libs/granite/csrf/token.json) from the browser it works fine. I am able to get the token ID. But from an external applications the token url is not working. Its throwing CORS error. Some how it needs to allow the external domain to ca...

Views

4.9K

Likes

0

Replies

0
var clientlibs deleted
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, In one of our environments we cleared the clientlibs cache by using "Invalidate Cache" inhttp://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html.This deleted the var/clientlibs folder. Now clientlibs are not at all loading and the var/clientlibs folder didnt get created again.Please help us in identifying the issue.Thanks,Jai.

Views

5.2K

Likes

2

Replies

8
Re: Page not available in Touch UI
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Got that!!! It is mandate to include sling:resourceSuperType for Touch UI.

Views

948

Likes

0

Replies

0
Page not available in Touch UI
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Experts, I am trying to create a sightly page and it comes up well when using the url http://localhost:4502/cf#/content/search-home.html but the page is empty when i try to open it in touch uithat is by using http://localhost:4502/editor.html/content/search-home.html I could see some stack trace in error log. But it is hard to decode. Attaching the same.Any leads would be of great help.Regards,Jai

Views

977

Likes

0

Replies

1
Re: Authentication Error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi opkar,Yes, we did all the changes and restarted the instance. Also we had this problem already and so we started again from a fresh instance and ended up here again with same issue.

Views

808

Likes

0

Replies

0
Re: Authentication Error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Opkar, As said in the question, we updated the configuration on Apache Sling Authentication Service to disallow anonymous access(unchecked allow anonymous access) and changed the default login page in CQSelector Configuration. Also we deployed a package of users from the working instance as specified here and once this package is deployed we restarted the instance. After that the issue started.I doubt at the components that are not active. Details as follows. Component #121 org.apache.sling.a...

Views

4.4K

Likes

0

Replies

2
Re: Authentication Error
Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
- Adobe Experience Manager
Hi Opkar,   Attaching the error logs

Views

4.4K

Likes

0

Replies

4