AEM 6.5 TokenUtil Deprecated | Community
Skip to main content
Level 4
August 9, 2019

AEM 6.5 TokenUtil Deprecated

  • August 9, 2019
  • 2 replies
  • 5143 views

Hello All, The TokenUtil class (TokenUtil (The Adobe AEM Quickstart and Web Application.) ) is deprecated in AEM 6.5 . What is the alternate method to create AuthenticationInfo objects. In the documentation it says "use Oak 1.7.8 or newer external IDP instead". But its not quite clear. Have anyone tried the alternate approach. Please give any pointers.

Regards,

Anand

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

2 replies

Adobe Employee
August 9, 2019
surenk
Level 4
July 21, 2020

Are there any working examples? The example on docs page isn't clear.

 

We are using something like this

AuthenticationInfo authinfo = TokenUtil.createCredentials(request, response, this.repository, userId, true);

but need to update to AEM 6.5

September 26, 2020

Did you find solution for that issue? i have the same issue. Authentication is all done by other IDP, need to create AuthenticationInfo objects.

surenk
Level 4
September 28, 2020

No @srinivas_cherlamcherla , for now we are using the deprecated method on AEM 6.5 (is in our backlog to refactor).

 

 

Level 2
February 1, 2021

Hi For my instance aem 6.5 Authontication info object is not crested , I need to add any config to used deprecated code ?