Class BasicAuthStrategy

java.lang.Object
com.atlassian.crowd.integration.rest.service.BasicAuthStrategy
All Implemented Interfaces:
AuthStrategy

public class BasicAuthStrategy extends Object implements AuthStrategy
Basic auth specific logic for the rest executor
Since:
7.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    BasicAuthStrategy(org.apache.http.client.CredentialsProvider credsProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.http.HttpResponse
    executeRequest(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.impl.client.CloseableHttpClient client, org.apache.http.HttpHost httpHost)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BasicAuthStrategy

      public BasicAuthStrategy(org.apache.http.client.CredentialsProvider credsProvider)
  • Method Details

    • executeRequest

      public org.apache.http.HttpResponse executeRequest(org.apache.http.client.methods.HttpUriRequest request, org.apache.http.impl.client.CloseableHttpClient client, org.apache.http.HttpHost httpHost) throws IOException
      Specified by:
      executeRequest in interface AuthStrategy
      Throws:
      IOException