Rules for HTML forms-based authentication
Add rules to define an HTML forms login policy named mpgw-form for HTML forms-based authentication.
You create the mpgw-form policy as part of the process of defining a multi-protocol gateway. See Integrating with DataPower as a security gateway and reverse proxy, Table 1.
Property | Value |
---|---|
Policy Name | mpgw-form |
Order of configured rules |
Property | Value |
---|---|
Direction | Client to Server or Both Directions. |
Match |
|
Advanced | "Set Variable" -> var://service/mpgw/skip-backside = 1 |
Result | Not applicable. |
Property | Value |
---|---|
Direction | Client to Server. |
Match |
|
AAA | VerifyLTPA
|
Result | Not applicable. |
Property | Value |
---|---|
Direction | Client to Server. |
Match |
|
Transform | Provide a custom stylesheet that builds either
a Login or Error HTML page. For a sample stylesheet, see Sample form login stylesheet. Note: The HTML
Login Form policy allows you to specify whether you retrieve the login
and error pages from DataPower or
from the back-end application server.
|
Advanced | Select the set-var action and specify the service variable: var://service/routing-url and value with the endpoint of your login page. |
Result | Not applicable. |
Property | Value |
---|---|
Direction | Client to Server. |
Match |
|
Advanced | "Convert Query Parameter to XML". Accept default values for other selections. |
AAA | Form2LTPA |
Property | Value |
---|---|
Direction | Server to Client. |
Match |
|
Filter | Provide a custom stylesheet that handles redirect
and content-type rewrite. For a sample redirect stylesheet, see Sample redirect stylesheet.
|
Result | Not applicable. |