Forum Discussion
Blake_79204
Feb 14, 2012Nimbostratus
OK - making progress, but still stumped on an aspect of this.
As it stands, my APM iRule looks to see if there's an active session, and if so, how are you authenticated? Next, are you authorized to go to this uri? And finally, if so, we'll let you in and pass on your attributes as headers to the application.
If a user is authenticated against LDAP, and they are authorized for the requested URI, then I can grab their attributes from the LDAP query and pass them on to the application. Case-closed, no problem.
If a user is authenticating against ODBC, I have the authorization piece resolved using HTTP form in the VPE. I still need to gather their attributes to pass along to the application. Luckily, I can have these attributes waiting for me on an HTTP page as text, organized however I want. Using HTTP::Collect and HTTP::Payload, I can gather the data, manipulate it, and do what I need.
The stumper, for me, is that I cannot do the HTTP::Collect unless the ‘event when HTTP_Response’ happens first. How do I trigger this event without redirecting the original end user to this 'attribute page’? Essentially, how do I have my iRule go read the contents of an HTTP page without sending the original requestor there?
(As a side note, the help and topics available on DevCentral have been incredibly helpful – I’m feeling lucky to get the help I have.)