SAML Authentication

Avatar

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Nitish_Jain01
Level 2

22-11-2016

Hi,

We are using SAML authentication for login to AEM. It is working fine in author as users are present in AEM or will be created if not present. But for publish instance, users will not be kept in AEM and thus unable to use existing SAML Handler. The documentation also states that it is the limitation of OOTB handler.

https://helpx.adobe.com/experience-manager/kb/saml-demo.html

Limitations    
User Must Exist in AEM
Users logging in via the handler must exist, or if missing must be created in, AEM (“Autocreate CRX Users” must be checked). This is because the Sling authentication framework, which the  SamlAuthenticationHandler is a part of, extracts user credentials from the SAMLResponse and logs into the JCR repository using those credentials.


Any suggestion how we can use SAML for authentication for publish. The user base in 2.2 M and thus it is decided not to keep so much users in AEM.

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

22-11-2016

I believe this is true - you need to have users in AEM. 

Watch this GEMS session as it may provide more details: 

https://docs.adobe.com/ddc/en/gems/saml-and-aem.html

I am talking to internal ppl to see if there is other ways to proceed here. 

Avatar

Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
Sham_HC
Level 10

22-11-2016

HI Nitish,

   There are couple of ways and hack arounds, all need some kind of custamization.  Before that what is the use case for protecting the pages in publish when user does not exist in publisher?

Thanks,

Sham

Avatar

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Nitish_Jain01
Level 2

22-11-2016

Hi Sham,

The user base is pretty huge and adobe itself has recommended the client not to keep users in AEM for publish instance.

Avatar

Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
Sham_HC
Level 10

22-11-2016

Hi Nitish,

  The idea is to suggest right workaround for your use case. I am not challenging on recommendation of user profile storage in AEM.  but trying to find when there is no user in publisher and all content are available to anonymous why do you need authentication.   If you do not want to discuss the use case in open forum feel free to engage the official  channel.

Thanks,

Sham

Avatar

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Nitish_Jain01
Level 2

22-11-2016

Hi Sham,

The idea was not to offend you but was just mentioning that the suggestion for not keeping the users in AEM is not suggested by us. Since the client has huge user base, so the solution was recommended.

I am seriously looking for suggestions and help here.

Thanks and Regards,

Nitish 

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

23-11-2016

As Sham suggests - please open a ticket, They need to investigate with you.

Avatar

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 2
Nitish_Jain01
Level 2

Likes

2 likes

Total Posts

43 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Nitish_Jain01
Level 2

23-11-2016

Thanks Sham and smacdonald2008 for the suggestions.