Class BasicAuthentication
java.lang.Object
com.internetitem.logback.elasticsearch.config.BasicAuthentication
- All Implemented Interfaces:
Authentication
public class BasicAuthentication extends Object implements Authentication
-
Constructor Summary
Constructors Constructor Description BasicAuthentication() -
Method Summary
Modifier and Type Method Description voidaddAuth(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
-