Class BasicAuthentication
java.lang.Object
com.agido.logback.elasticsearch.config.BasicAuthentication
- All Implemented Interfaces:
Authentication
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuth(HttpURLConnection urlConnection, String body) Modify the given urlConnection for whatever authentication scheme is used.
-
Constructor Details
-
BasicAuthentication
public BasicAuthentication()
-
-
Method Details
-
addAuth
Description copied from interface:AuthenticationModify the given urlConnection for whatever authentication scheme is used.- Specified by:
addAuthin interfaceAuthentication- Parameters:
urlConnection- the connection to the serverbody- the message being sent
-