Forum Discussion
convert username and password to uppercase
I am new to iRules. I am trying to uppercase username & password when users try to logon to an internal application (https) through APM and then pass them to LDAP server for authentication. Can some one please help?
3 Replies
with APM you don't need an iRule for this, you can use the variable assign to manipulate strings.
for the username this would be the content: session.logon.last.username = return [string toupper [mcget {session.logon.last.username}] ] ;
- KeyPat_152122
Nimbostratus
Thanks for your reply. Should I be able to uppercase or manipulate the password? The username works but not the password.
you should use the secure variable there, and you might have to do mcget -secure {}, but i would start with trying secure variable from the drop down on the left side.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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