AEM 6.5 TokenUtil Deprecated

Avatar

Avatar

a_mn1

Avatar

a_mn1

a_mn1

09-08-2019

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

Replies

Avatar

Avatar

hamidk92094312

Employee

Avatar

hamidk92094312

Employee

hamidk92094312
Employee

09-08-2019

Avatar

Avatar

surenk

Avatar

surenk

surenk

21-07-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

Avatar

Avatar

srinivas_cherlamcherla

Avatar

srinivas_cherlamcherla

srinivas_cherlamcherla

25-09-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.

Avatar

Avatar

surenk

Avatar

surenk

surenk

28-09-2020

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

 

tokenutil1.png