AEM 6.2 SAML Login issue | Community
Skip to main content
Level 4
April 11, 2017
Solved

AEM 6.2 SAML Login issue

  • April 11, 2017
  • 8 replies
  • 3437 views

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 .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by sandeepv1805

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

8 replies

MC_Stuff
Level 10
April 12, 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,

Level 2
April 12, 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.

MC_Stuff
Level 10
April 13, 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,

Level 2
April 13, 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

vjetty
Level 4
April 13, 2017

Hi, Sandeep

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

Thanks! 

sandeepv1805Accepted solution
Level 2
April 13, 2017

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

Level 2
April 13, 2017

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