use of io.helidon.webclient.security.WebClientSecurity in project helidon by oracle.
the class BasicExampleTest method classInit.
@BeforeAll
public static void classInit() {
Security security = Security.builder().addProvider(HttpBasicAuthProvider.builder().build()).build();
WebClientSecurity securityService = WebClientSecurity.create(security);
client = WebClient.builder().addService(securityService).build();
}
Aggregations