Package io.pravega.schemaregistry.client
Class AuthFilter
- java.lang.Object
-
- io.pravega.schemaregistry.client.AuthFilter
-
- All Implemented Interfaces:
javax.ws.rs.client.ClientRequestFilter
public class AuthFilter extends java.lang.Object implements javax.ws.rs.client.ClientRequestFilterAuthentication filter for the client. This intercepts requests and adds authentication/authorization header to the request. The credentials to add are retrieved from credential provider.
-
-
Constructor Summary
Constructors Constructor Description AuthFilter(io.pravega.schemaregistry.common.CredentialProvider credentialProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(javax.ws.rs.client.ClientRequestContext context)
-