Skip to content

Instantly share code, notes, and snippets.

@korteke
Created November 22, 2016 07:43
Show Gist options
  • Select an option

  • Save korteke/df36f4fad749b2476e24cf65e0c7745d to your computer and use it in GitHub Desktop.

Select an option

Save korteke/df36f4fad749b2476e24cf65e0c7745d to your computer and use it in GitHub Desktop.
{
"handler": {
"type": "Chain",
"config": {
"filters": [
{
"type": "PasswordReplayFilter",
"config": {
"loginPageContentMarker": "Welcome",
"request": {
"method": "POST",
"uri": "http://app.example.com:8081/login",
"form": {
"username": [
"demo"
],
"password": [
"changeit"
]
}
}
}
}
],
"handler": "ClientHandler"
}
},
"condition": "${matches(request.uri.path, '^/')}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment