Forum Discussion
Chad_20106
Nimbostratus
Apr 06, 2009irule to pass on User ID and Password
We have a sharepoint site that will house our customer catalogs. Each customer will log into it's onw customized sharepoint site residing on the same sharepoint instance. One of our global accounts wa...
hoolio
Cirrostratus
Apr 07, 2009What is the authentication type (basic, ntlm, etc)? If you don't want to use source IP address, what component of the request would you want to use to know when to insert the credentials in a request?
For basic auth, you could insert the header using an iRule like this:
when HTTP_REQUEST {
Check if some condition is true
if {$allow_access==1}{
Insert the authorization header with the base64 encoded username:password
HTTP::header replace Authorization "Basic: dXNlcm5hbWU6cGFzc3dvcmQ="
}
}
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects