Components of Interceptors Elements of the UIO Proxy Configuration File

6-22 Oracle Fusion Middleware Developers Guide for Oracle Adaptive Access Manager VariablePresent enabled, name Checks whether the specified proxy variable has been set. Example: VariablePresent name=userid RequestCookiePresent enabled, name Checks the presence of the specified cookie in the request Example: RequestCookiePresent name=SESSIONID ResponseCookiePresent enabled, name Checks the presence of the specified cookie in the response Example: ResponseCookiePresent name=MCWUSER HeaderValue enabled, name, value, mode, ignore-case Checks whether the specified requestresponse header value matches the given value. The header name should be terminated by a colon :. Example: HeaderValue name=Rules-Result: value=allow ParamValue enabled, name, value, mode, ignore-case Checks whether the specified request parameter value matches the given value. Example: ParamValue name=cancel value=Cancel QueryParamValue enabled, name, value, mode, ignore-case Checks whether the specified URL query parameter value matches the given value. Example: QueryParamValue name=requestID value=Logout VariableValue enabled, name, value, mode, ignore-case Checks whether the specified proxy variable value matches the given value. Example: VariableValue name=REQUEST_METHOD value=post RequestCookieValue enabled, name, value, mode, ignore-case Checks whether the specified request cookie value matches the given value. Example: RequestCookieValue name=CurrentPage value=onlineserv mode=begins-with ignore-case=true Table 6–14 Cont. Conditions Defined in an Interceptor Condition name Attributes Description Oracle Adaptive Access Manager Proxy 6-23 ResponseCookieValue enabled, name, value, mode, ignore-case Checks whether the specified response cookie value matches the given value. Example: ResponseCookieValue name=CurrentPage value=onlineserv mode=begins-with ignore-case=true HttpStatus enabled, status Checks whether the status code of the response matches the given value. Example: HttpStatus status=302 HtmlElementPresent enabled, name, attrib-name1, attrib-value1, attrib-name2, attrib-value2, … attrib-name9, attrib-value9, Checks presence of a html element to match the specified conditions: name attrib-name1=attrib-value1 attrib-name2=attrib-value2 … Example: HtmlElementPresent name=form attrib-name1=name attrib-value1=signon PageContainsText enabled, text Checks whether the response contains the given text. Example: PageContainsText text=You have entered an invalid Login Id NotVariableValue enabled, name, value, mode, ignore-case Checks whether the specified proxy variable value does not match the given value. Example: NotVariableValue name=Login-Status value=In-Session Table 6–14 Cont. Conditions Defined in an Interceptor