
[Elastic Search+Java] 사용자 인증 구현하기 Basic Authentication
저 같은 경우 Elasitc Search를 사용할 때 직접 API 문서 보고 자바 코드로 작성합니다. 아래 링크는 Elasitc Search 공식 API Basic Authentication 입니다. Basic authentication | Java REST Client [7.14] | Elastic Configuring basic authentication can be done by providing an HttpClientConfigCallback while building the RestClient through its builder. The interface has one method that receives an instance of org.apache.http.impl.nio.client.Ht..