Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

anujk4
Community profile anujk4 Level 2
Job title here
Location here
9 BADGES
Level 2

Level 2

Learn more
Joined the community 31-05-2017 11:57:13 PM
Offline
Top badges earned by anujk4
Customize the badges you want to showcase on your profile
Re: Make login-token cookie secure
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
i tried with pre generated cert and still not able to see hostname field.

Views

5.2K

Likes

0

Replies

0
Re: Make login-token cookie secure
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
I am using AEM 6.3.0. i will try a fresh install.And i just tried in on of our non prod instance that is AEM 6.3 SP1. That has the same screen as shown in previous comment.

Views

5.2K

Likes

0

Replies

2
Re: Make login-token cookie secure
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
well this seems weird. if you see the screenshot i provided as part of my earlier, in the background you can only see the port number field. The field to enter hostname is not visible. Latest screen grab attaching below.No hostname field.

Views

5.2K

Likes

0

Replies

4
Re: Make login-token cookie secure
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi Gaurav,i generated the certificate as mentioned in the blog for CN=localhost. In the SSL config wizard, there is no place to mention hostname. I followed steps again but still getting the same issue.Thanks.

Views

5.2K

Likes

0

Replies

7
Re: Make login-token cookie secure
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
No Arun. Still no luck with AEM work on https on local.I will try to test the filter class code on one of the non prod environments that is available over https and get back to you.Thanks.

Views

5.1K

Likes

0

Replies

1
Re: Make login-token cookie secure
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
HI Arun,Reference link 1: this only ensure the JSESSIONID cookie is made secure. And if it is made secure it will only be transferred over https and not on http. AEM needs to be enabled for SSL.Reference link 2: Tried with DemoCookieFilter.java. I am making it secure: myCookie.setSecure(true); Now because AEM is not on https this cookie is not created. when i remove the above line, the cookie comes fine.Reference link3: getting error while configuring ssl. Screenshot attached in response to othe...

Views

5.1K

Likes

0

Replies

3
Re: Make login-token cookie secure
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi Arun, thanks for the response. we do not have apache setup on top of author. Author is accessible on 4502 port. Also, there is one non prod AEM instance available that has a valid CA certificate. it is accessible over https. In one of the question asked here in the forum (AEM Session Cookie with httponly and secure flag ) it is mentioned that cookies are secure by default over https. On this instance too the cookies are not secured. Am i missing something here?? Thanks

Views

5.1K

Likes

0

Replies

5
Re: Make login-token cookie secure
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi Gaurav, thanks for your reply. I already tried what was mentioned in the link provided by you. I am getting below error. Any idea why?

Views

5.1K

Likes

0

Replies

9
Make login-token cookie secure
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
When we try to access localhost:4502, a cookie is created by the name cq-authoring-mode. Upon successful authentication a new cookie is created by the name login-token. both the cookies mentioned above are not secure. Can we do some modification in AEM that will make these cookies secure?

Views

5.7K

Likes

0

Replies

19
Re: Using Scheduler API
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Thanks for the Replies.smacdonald2008​ : no i cant Hardcode the CRON and hence cant do it with OSGI config. It would be the last resort.@Jorg : I will take a look at JobManager API. is there any resource that can explain the usage?Thanks.

Views

3.7K

Like

1

Replies

1
Using Scheduler API
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi,I have a specific use case where i would like to take input from user to schedule a particular job in AEM. I am using a simple form on front end and sending those values to server (Sling servlet mapped to the URL in ajax call) using an ajax call. Those values are needed to create a job scheduled at the time that the user has selected. I am not able to come up with a solution where i can pass on these custom parameters that i picked up from UI to the scheduler and create a job.Most of the arti...

Views

4.3K

Likes

0

Replies

6
Re: Using RTE in AEM 6.3
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi Ratna,My email id is [Removed by moderator. Please use the Private Message feature.]Thank You so much for the help.

Views

1.4K

Likes

0

Replies

0
Re: Using RTE in AEM 6.3
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi Ratna,My email id is [Removed by moderator. Please use the Private Message feature.]Thank You so much for the help.

Views

1.3K

Likes

0

Replies

0
Re: Using RTE in AEM 6.3
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi Ratna, thanks for the reply.. Please share the sample RTE plugins package, i will compare my dialog with your package.I will be waiting for the updated document as well.Thanks again

Views

1.3K

Likes

0

Replies

0
Re: Using RTE in AEM 6.3
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi BigT168, i checked the component you have mentioned. i think i understand the rteplugins used for inplace editing. i wanted to know about the rtePlugins if i want the same functionality in the dialog or full screen dialog. Thank You

Views

1.3K

Likes

0

Replies

0
Using RTE in AEM 6.3
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi,We are trying to use RTE in one of the component that we are creating for our product using AEM 6.3. In classic UI, it is pretty much fine. We define:xType : richtext and define the rtePlugins under this node in the dialog.This dialog works fine in we use it in touch UI as it is. But if we change the dialog to cq:dialog and follow the standard of creating the dialog according to touch UI, the dialog does not show the plugins i added under rtePlugins. InPlaceEditing is showing few icons (do no...

Views

11.7K

Likes

0

Replies

11
Re: Issue with sling:resourceSuperType AEM 6.3
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi Veena,I see that you have used the OOB component. Maybe the issue is because of our component. the component is still under refactoring. I think we are good to proceed as the this one template is working fine. We can follow the insights shared here to refactor the code for other templates and components.Thank you so much everyone for the help.Regards,Anuj Rattan

Views

3.3K

Likes

0

Replies

0
Re: Issue with sling:resourceSuperType AEM 6.3
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi Veena,Thanks for the reply. i could see the error message if i switch to Developer mode from the touch UI. there was some issue with head.html that was messing up the resource Super Type declaration. I removed head.html and it worked fine.Now facing a new issue. i have posted a reply to main thread. It would be wonderful if a you can point us in the right direction. We are not sure if this is something missing in template or it component issue.Thank You So much for all the help.

Views

7.0K

Likes

0

Replies

3
Re: Issue with sling:resourceSuperType AEM 6.3
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi All,I think i got the issue with the sling:resourceSuperType issue. 1. existing head.html is not in sync with the head.html available as part of wcm/foundation/components/page. There are loads of changes and i would need to refactor head.html and headlibs.html.There is one issue that will slow down our process of changing to sightly. as a temporary fix for the issue above, i have replaced the head.html and headlibs.html with the file at wcm/foundation/components/page. the template is displaye...

Views

7.0K

Likes

0

Replies

2
Issue with sling:resourceSuperType AEM 6.3
Avatar
Give Back 10
Level 2
anujk4
Level 2

Likes

4 likes

Total Posts

20 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
anujk4
- Adobe Experience Manager
Hi,We are in process of upgrading from AEM 6.0 to AEM 6.3. We also wanted to use sightly for our existing code base. We are converting the existing templates and components as per sightly.Templates use sling:resourceSuperType to inherit from page component provided OOBe.g: --apps --myProject --components --pages --base-page (sling:resourceSuperType as foundation/components/page) -- body.jsp --head.jsp --content.jsp --headlibs.jsp --navigation.jsp -- inner-page (sling:resourceSuperType as base-pa...

Views

8.6K

Likes

3

Replies

12
Likes given to
Likes from