Class BearerAuthFilter
java.lang.Object
org.keycloak.admin.client.resource.BearerAuthFilter
- All Implemented Interfaces:
jakarta.ws.rs.client.ClientRequestFilter
,jakarta.ws.rs.client.ClientResponseFilter
public class BearerAuthFilter
extends Object
implements jakarta.ws.rs.client.ClientRequestFilter, jakarta.ws.rs.client.ClientResponseFilter
- Author:
- rodrigo.sasaki@icarros.com.br
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBearerAuthFilter
(String tokenString) BearerAuthFilter
(TokenManager tokenManager) -
Method Summary
-
Field Details
-
AUTH_HEADER_PREFIX
- See Also:
-
-
Constructor Details
-
BearerAuthFilter
-
BearerAuthFilter
-
-
Method Details
-
filter
- Specified by:
filter
in interfacejakarta.ws.rs.client.ClientRequestFilter
- Throws:
IOException
-
filter
public void filter(jakarta.ws.rs.client.ClientRequestContext requestContext, jakarta.ws.rs.client.ClientResponseContext responseContext) throws IOException - Specified by:
filter
in interfacejakarta.ws.rs.client.ClientResponseFilter
- Throws:
IOException
-