Forum Discussion
Xavier
Jul 10, 2019Nimbostratus
APM - Automatic logon with URL Parameter
Hello, I would like to know if it is possible to use the parameters of a URL to automatically fill in the login and password fields of the VPE logon page. The APM is activated and so when call...
- Jul 11, 2019
the same code as iaine, but checkking both username and password are provided in the query string/
when ACCESS_SESSION_STARTED { if {[set username [URI::query [HTTP::uri] login]] ne "" && [set password [URI::query [HTTP::uri] pws]] ne ""}{ ACCESS::session data set session.logon.last.username $username ACCESS::session data set -secure "session.logon.last.password" $password unset -nocomplain username password } }
Stanislas_Piro2
Jul 11, 2019Cumulonimbus
the same code as iaine, but checkking both username and password are provided in the query string/
when ACCESS_SESSION_STARTED {
if {[set username [URI::query [HTTP::uri] login]] ne "" && [set password [URI::query [HTTP::uri] pws]] ne ""}{
ACCESS::session data set session.logon.last.username $username
ACCESS::session data set -secure "session.logon.last.password" $password
unset -nocomplain username password
}
}
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