コード例 #1
0
 private void addAuthentication(HttpTest call, InternalRequest request) {
   Authentication[] authentications = call.authentications();
   if (authentications != null) {
     for (Authentication authentication : authentications) {
       AuthenticationType type = authentication.type();
       String user = authentication.user();
       String password = authentication.password();
       request.addAuthenticationInfo(new AuthenticationInfo(type, user, password));
     }
   }
 }