use of com.opentext.ia.sdk.support.http.rest.BasicAuthentication in project infoarchive-sip-sdk by Enterprise-Content-Management.
the class WhenConfiguringAuthenticationStrategy method shouldGetBasicAuthentication.
@Test
public void shouldGetBasicAuthentication() {
configuration.setAuthenticationUser(randomString());
configuration.setAuthenticationPassword(randomString());
AuthenticationStrategy authentication = authFactory.getAuthenticationStrategy(() -> null, () -> null);
assertTrue(authentication instanceof BasicAuthentication);
}
Aggregations