Forum Discussion
Lucas_Thompson_
Jul 07, 2016Historic F5 Account
APM does have most of this functionality built-in, so you don't really need to write it from scratch like you did. To solve it you can either do it like you're doing or use "Clientless Mode" and "401 Response" as mentioned in the other thread you posted.
The reason your authentication is not working is that you have to set the password variable in an encrypted way because "AD Auth" will try to decrypt it.
Instead of:
ACCESS::session data set "session.logon.last.password" [HTTP::password]
use
ACCESS::session data set -secure "session.logon.last.password" [HTTP::password]