Class WebAuthnRegistration
java.lang.Object
com.tremolosecurity.proxy.filters.WebAuthnRegistration
- All Implemented Interfaces:
HttpFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doFilter
(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain) void
filterResponseBinary
(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, byte[] data, int length) void
filterResponseText
(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, StringBuffer data) static String
getRpId
(jakarta.servlet.http.HttpServletRequest request) void
initFilter
(HttpFilterConfig config)
-
Constructor Details
-
WebAuthnRegistration
public WebAuthnRegistration()
-
-
Method Details
-
doFilter
public void doFilter(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain) throws Exception - Specified by:
doFilter
in interfaceHttpFilter
- Throws:
Exception
-
getRpId
public static String getRpId(jakarta.servlet.http.HttpServletRequest request) throws MalformedURLException - Throws:
MalformedURLException
-
filterResponseText
public void filterResponseText(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, StringBuffer data) throws Exception - Specified by:
filterResponseText
in interfaceHttpFilter
- Throws:
Exception
-
filterResponseBinary
public void filterResponseBinary(HttpFilterRequest request, HttpFilterResponse response, HttpFilterChain chain, byte[] data, int length) throws Exception - Specified by:
filterResponseBinary
in interfaceHttpFilter
- Throws:
Exception
-
initFilter
- Specified by:
initFilter
in interfaceHttpFilter
- Throws:
Exception
-