You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to short circuit request processing if a filter fails. For example, I've an authorization filter that should respond back with a 403 in case the user is not authorized to make the request. Currently I'm just calling stopFilterProcessing and setting an error end point on the context which basically relays a 403 back to the user. The response status of 403 is returned back to the user however the connection is kept alive and it finally times out. How can I make sure that the connection is terminated as well.
Here's sample code of what the filter would look like:
I'm trying to short circuit request processing if a filter fails. For example, I've an authorization filter that should respond back with a 403 in case the user is not authorized to make the request. Currently I'm just calling stopFilterProcessing and setting an error end point on the context which basically relays a 403 back to the user. The response status of 403 is returned back to the user however the connection is kept alive and it finally times out. How can I make sure that the connection is terminated as well.
Here's sample code of what the filter would look like:
The text was updated successfully, but these errors were encountered: