Interface ClientConfigProvider
-
public interface ClientConfigProvider
Interface to enable loading of authentication configuration from outside.- Author:
- dvilkola@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBearerToken(URI uri)
String
getPassword(URI uri)
SSLContext
getSSLContext(URI uri)
String
getUsername(URI uri)
-
-
-
Method Detail
-
getUsername
String getUsername(URI uri) throws ClientConfigException
- Throws:
ClientConfigException
-
getPassword
String getPassword(URI uri) throws ClientConfigException
- Throws:
ClientConfigException
-
getBearerToken
String getBearerToken(URI uri) throws ClientConfigException
- Throws:
ClientConfigException
-
getSSLContext
SSLContext getSSLContext(URI uri) throws ClientConfigException
- Throws:
ClientConfigException
-
-