Hello,
I am using ISAM 9.0.7.0 can trying to leverage the AAC component and InfoMap.
I'm trying to retrieve the original requested URL from the JavaScript in the InfoMap. I was hoping to be able to get it in either the request or session context via
var dest = context.get(Scope.SESSION, Attribute Namespace, Attribute ID);
var dest = context.get(Scope.REQUEST, Attribute Namespace, Attribute ID);
Is there an Attribute Namespace and Attribute ID that I can use to get the original requested URL? Or is there another of retrieving the URL?
Within the Infomap the "dest" variable will be a URL parameter for another URL. The original URL(dest) will vary so I can't use a static URL.
The flow is
- User requested protected content /junction/context/originalURL.html
- An access policy is attached to /junction/context/originalURL.html
- Webseal prompts for authentication
- User authenticates and the access policy is triggered
- Infomap will send to request to Servlet with the dest as a URL parameter
- Servlet will initiate a few redirects back in forth passing the dest as a URL parameter
- Once servlet has gathered all needed info it will request to send to the "dest" URL
- Request will go to "dest" URL and the access policy will be respond with Permit and be allowed.
Is this doable?
Thanks,
Duane
------------------------------
Duane Morrison
------------------------------