Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM 6.5 TokenUtil Deprecated

a_mn1
Level 4
Level 4

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

5 Replies
surenk
Level 4
Level 4

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

srinivas_cherlamcherla
Level 1
Level 1

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
Level 4

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

 

tokenutil1.png

 

cq_5_5
Level 2
Level 2

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