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 Details

  • Constructor Details

    • BearerAuthFilter

      public BearerAuthFilter(String tokenString)
    • BearerAuthFilter

      public BearerAuthFilter(TokenManager tokenManager)
  • Method Details

    • filter

      public void filter(jakarta.ws.rs.client.ClientRequestContext requestContext) throws IOException
      Specified by:
      filter in interface jakarta.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 interface jakarta.ws.rs.client.ClientResponseFilter
      Throws:
      IOException