ltm rule command WEBSSO selectΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



WEBSSO::select
       Use specified SSO configuration object to do SSO for the HTTP request.

SYNOPSIS
       WEBSSO::select WEBSSO_OBJECT

DESCRIPTION
       This command causes APM to use specified SSO configuration object to do
       SSO for the HTTP request. Admin should make sure that the selected SSO
       method works for the specified request (and is enabled on backend
       server request is going to). The scope of this iRule command is per
       HTTP request. Admin needs to execute it for each HTTP request.

       Syntax

       WEBSSO::select 

RETURN VALUE
VALID DURING
       ACCESS_ACL_ALLOWED, HTTP_REQUEST, HTTP_REQUEST_DATA

EXAMPLES
	when ACCESS_ACL_ALLOWED {
	    set req_uri [HTTP::uri]
	    if { $req_uri starts_with "/owa" } {
		if { $req_uri eq "/owa/auth/logon.aspx?url=https://mysite.com/owa/&reason=0" } {
		    WEBSSO::select owa_form_base_sso
		} elseif { $req_uri eq "/owa/auth/logon.aspx?url=https://mysite.com/ecp/&reason=0" } {
		    WEBSSO::select ecp_form_base_sso
		}
	    }
	    unset req_uri
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-10.2.1 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)