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