Question
Ernst & Young LLP
IN
Last activity: 14 Aug 2020 8:35 EDT
How to extract the Authorization token from Header in Custom Authentication service activity
Hi All,
We have an requirement to extract the Authorization token in Custom Authentication service activity
Trying to extract it via the below code in Property-set methods and is deprecated
@java("((javax.servlet.http.HttpServletRequest)tools.getRequestor().getRequestorPage().getObject(\"pxHTTPServletRequest\")).getHeader(\"Authorization\")") and throwing the below error:
This record has 1 error(s) in 1 place(s) .
.pySteps(1).pyParamArray(1).PropertiesValue—
The usage of @java in expressions is no longer supported. Consider replacing @java with utility functions or other product features.
Any leads?
***Edited by Moderator: Pallavi to update platform capability tags***