Created
July 22, 2016 21:07
-
-
Save vanjikumaran/75b0a341936731497432d3475c716f22 to your computer and use it in GitHub Desktop.
Auth Failure Handler Sequence Synapse Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sequence name="_auth_failure_handler_" xmlns="http://ws.apache.org/ns/synapse"> | |
<switch source="$trp:Accept"> | |
<case regex="application/json"> | |
<property name="error_message_type" value="application/json"/> | |
</case> | |
<default> | |
<property name="error_message_type" value="application/xml"/> | |
</default> | |
</switch> | |
<sequence key="_build_"/> | |
</sequence> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment