For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Liat's avatar
Liat
Icon for Nimbostratus rankNimbostratus
May 19, 2022

Pull information from Active Directory - by iRule

Hi,

As part of SSO solution, I would like to pull information (username and password) from Active Directory - by iRule.

The APM integrated with Active directory.

Currently the username and password are hardcodede , see attached current iRule :

 I wish to pull the following credentials Source (from the AD) :

Username Source is: session.sso.token.last.username

Password Source is : session.sso.token.last.password

Need your assistance to rewrite the iRule please

 

3 Replies

    • Liat's avatar
      Liat
      Icon for Nimbostratus rankNimbostratus

      Hi JoshBecigneul ,

      Thanks for your kind assistance , i am missing something , it still doesnt work 🙄

      i would highly appritiate your help, see attached, current iRule:

      when HTTP_REQUEST {
      #HTTP::header replace "Host" "10.10.21.11"
      }

      when ACCESS_ACL_ALLOWED {
      HTTP::header insert "username" "session.sso.token.last.username"
      HTTP::header insert "userpass" "session.sso.token.last.password"
      }