Member since
12-21-2015
2
Posts
2
Kudos Received
0
Solutions
12-22-2015
01:03 PM
1 Kudo
Thanks @Kevin Minder @Imccay for quick reply. I just want username from Knox url , so that I can pass this username to my custom service in Ranger for authorization. I tried to make changes in rewrite.xml as suggested but couldn't succeed in getting username in header.I checked gateway-audit.log and found this statement. dispatch|uri|http://{hostname}:{portno}/customService/insert?user.name=user_abc|success|Response status: 200 I could see user.name appended in above dispatch url. I could retrieve this username as a query parameter from my custom rest service. I did not make any changes for this. Is this the default behaviour of Knox , that it appends username in dispatch url?
... View more
12-21-2015
09:38 AM
1 Kudo
I need to access username and password in my custom rest service which is passed via knox URL. Can anybody suggest changes needs to be done in rewrite.xml or service.xml?
... View more
Labels:
- Labels:
-
Apache Knox