Class BasicAuthFilter

java.lang.Object
com.atlassian.crowd.manager.application.BasicAuthFilter
All Implemented Interfaces:
javax.ws.rs.client.ClientRequestFilter

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

    • BasicAuthFilter

      public BasicAuthFilter(String username, String password)
      Creates a new HTTP Basic Authentication filter with the provided username and password.
      Parameters:
      username - name of the user
      password - password
  • Method Details

    • filter

      public void filter(javax.ws.rs.client.ClientRequestContext requestContext)
      Specified by:
      filter in interface javax.ws.rs.client.ClientRequestFilter