Package com.networknt.security.outbound
Class ResponseFilterHandler
- java.lang.Object
-
- com.networknt.security.outbound.ResponseFilterHandler
-
- All Implemented Interfaces:
LightHttpHandler,io.undertow.server.HttpHandler
public class ResponseFilterHandler extends Object implements LightHttpHandler
This is a middleware handler that is responsible for filter out some fields from the response body for security reasons. Normally it is based on client_id, or other JWT claims to do the filter. The real implementation must be extend this and need some domain knowledge to complete the filter logic.- Author:
- Steve Hu
-
-
Field Summary
-
Fields inherited from interface com.networknt.handler.LightHttpHandler
AUDIT_ON_ERROR, AUDIT_STACK_TRACE, auditOnError, auditStackTrace, config, CONFIG_NAME, ERROR_NOT_DEFINED, logger
-
-
Constructor Summary
Constructors Constructor Description ResponseFilterHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(io.undertow.server.HttpServerExchange httpServerExchange)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.networknt.handler.LightHttpHandler
setExchangeStatus, setExchangeStatus
-
-