org.keycloak.admin.client.resource

## Class BasicAuthFilter

- java.lang.Object
- - org.keycloak.admin.client.resource.BasicAuthFilter

- All Implemented Interfaces:
    javax.ws.rs.client.ClientRequestFilter

      public class BasicAuthFilter
      extends Object
      implements javax.ws.rs.client.ClientRequestFilter

  Author:
    rodrigo.sasaki@icarros.com.br

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BasicAuthFilter(String username, String password)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `filter(javax.ws.rs.client.ClientRequestContext requestContext)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BasicAuthFilter

          public BasicAuthFilter(String username,
                                 String password)

  - ### Method Detail

    - #### filter

          public void filter(javax.ws.rs.client.ClientRequestContext requestContext)
                      throws IOException

      Specified by:
        `filter` in interface `javax.ws.rs.client.ClientRequestFilter`
      Throws:
        `IOException`

Copyright © 2021 JBoss by Red Hat. All rights reserved.