Highlighted

Allowing anonymous access is not working

Avatar

Avatar

Jdruwe

Avatar

Jdruwe

Jdruwe

06-12-2017

In the 'apache sling authentication service' configuration bundle one can specify pages under authentication requirements. You can allow anonymous access of pages here as the dialog states:

I am trying to share asset links to external entities as stated here (Asset link sharing 😞

Screen Shot 2017-12-06 at 12.21.49.png

Here is my 'apache sling authentication service' configuration

Screen Shot 2017-12-06 at 12.24.38.png

As you can see I provided 2 absolute url's (not sure if the .html extension is required or not) but this is not working, is still get redirected to the login page. Am I doing something wrong?

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

06-12-2017

Are you following the DOC exactly as written?

Highlighted

Avatar

Avatar

Jdruwe

Avatar

Jdruwe

Jdruwe

06-12-2017

Yes I am

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

06-12-2017

Another option you can do is share them from Prod. I have done that in past as that seems to work better.

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

06-12-2017

I will also log a bug against this doc as it should work as documented.

Highlighted

Avatar

Avatar

Jdruwe

Avatar

Jdruwe

Jdruwe

06-12-2017

How do you mean share them from prod?

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

06-12-2017

You stated your goal was "share asset links to external entities"

If you publish them to Production, you can provide URLS to these assets and authen will not be required when an external resource - like a web site - accesses them via an URL.

Highlighted

Avatar

Avatar

Jdruwe

Avatar

Jdruwe

Jdruwe

06-12-2017

I know but they (business) like the fancy linkshare download interface

Highlighted

Avatar

Avatar

Jdruwe

Avatar

Jdruwe

Jdruwe

14-12-2017

Even when I do the following I cannot access localhost:4502/linkshare.html

Screen Shot 2017-12-14 at 13.47.59.png

Do I need to checkbox for this to work? Or what am I doing wrong?

Highlighted

Avatar

Avatar

MC_Stuff

Avatar

MC_Stuff

MC_Stuff

14-12-2017

Hi,

Firstly from screenshot the Configuration Binding is not bounded means not getting picked up at all.   Secondly it is configured for white board filter.  Need to fix those first.

Thanks,