Forum Discussion
MB_58262
Nimbostratus
Oct 11, 2012string tolower and case insensitivity
We wanted to redirect to a particular request when the radius AVP such as User-Name ends with test.com. I implemented irule like the one below. From my understanding, it should be for case insensitiv...
Kevin_Stewart
Employee
Oct 11, 2012Just out of curiosity, what's the output if you throw in the following log line:
when CLIENT_DATA {
log local0. "User-Name = [string tolower [RADIUS::avp User-Name]]"
if { [ string tolower [RADIUS::avp User-Name] ] ends_with "test.com" } {
pool test_pool1
} else {
pool test_pool2
}
}
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
