AEM 6.2 SAML Login issue

Avatar

Avatar

sunitac2231600

Avatar

sunitac2231600

sunitac2231600

11-04-2017

Dear All,

We have migrated AEM 6.0 to 6.2. After we migrated to 6.2 when we logged in through SAML in 6.2 our userid is creating like encrypted. due to which our some functionality is not working fine

Attached below is the screenshot for 6.2 , how users are creating under publish user profiles.

Also I have attached the screenshot for saml configuration for our 6.2.

Please help me on this how the user should be created under user profile without encryption .

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

sandeepv5710160

Avatar

sandeepv5710160

sandeepv5710160

13-04-2017

Thank you all for the interest .. Tagging issue got resolved post giving read access to system user to access /etc/tags/<project>

Answers (7)

Answers (7)

Avatar

Avatar

sandeepv5710160

Avatar

sandeepv5710160

sandeepv5710160

13-04-2017

Thank you all for the inputs .... Tagging issue got resolved post giving read access to system user to access /etc/tags/<project>

Avatar

Avatar

vjetty

Avatar

vjetty

vjetty

13-04-2017

Hi, Sandeep

Please upload logs. It may be helpful to debug the issue. 

Thanks! 

Avatar

Avatar

sandeepv5710160

Avatar

sandeepv5710160

sandeepv5710160

13-04-2017

Hi MC,

Thanks for your reply.

We had further debugged the issue and found 

final TagManager tagmanager =getResourceResolver().adaptTo(TagManager.class);

final Tag tag = tagmanager.resolve(tagName);

tag information is throwing null,It's failing to resolve the tagid passed.not sure what has gone wrong we have correct tags which we were using in 6.0 is deployed in 6.2 and the same lines of code was working fine in 6.0

Is there any changes required for the way we are getting tags required to get this working?

Your inputs are appreciated.

Thanks

Sandeep

Avatar

Avatar

MC_Stuff

Avatar

MC_Stuff

MC_Stuff

12-04-2017

Hi Sandeep,

  it is expected behaviour in 6.2 for security reason. You can configure to behave as in 6.0 By configuring in felix console.  Before taking that path please provide us reason of problem you are facing with Zskdfkdfdhfjjfdhdjfjd ?

Thanks,

Avatar

Avatar

sandeepv5710160

Avatar

sandeepv5710160

sandeepv5710160

12-04-2017

Hi Prince,

Thanks for your help here.

The exact issue here is when user is created post SAML authentication was created with a plain text below /home/users before upgrading to 6.0. But post upgrading same user is create with some encrypted way

 

example: In 6.0 user is created in a way /home/users/sandeep.vishwanath@gmail.com

In 6.2 /home/users/Zskdfkdfdhfjjfdhdjfjd for the same user and email attribute of this user is saved as sandeep.vishwanath@gmail.com here we are using SFDC login id which is user mail id for logging in to AEM portal through SSO.

Due to this one of Service which we have is failing to  fetch the user attribute being synced. Login is happening but code written was not able to find the user based on mail id and find the tag information associated with that user.

Avatar

Avatar

MC_Stuff

Avatar

MC_Stuff

MC_Stuff

11-04-2017

Hi Sunitha,

You have attached same screenshot twice.  I am using you mean randamized home node path?   Then it is expected. What problem are you facing.

Thanks,