package com.l7tech.external.assertions.gatewaymanagement.server;

import com.l7tech.gateway.api.IdentityProviderMO.LdapIdentityProviderMapping;
import com.l7tech.identity.ldap.UserMappingConfig;
import com.l7tech.util.Functions.UnaryThrows;
import java.util.Set;

class aw implements UnaryThrows<UserMappingConfig, LdapIdentityProviderMapping, ResourceFactory.InvalidResourceException> {
   final Set val$propertyDescriptors;
   final IdentityProviderResourceFactory this$0;

   aw(IdentityProviderResourceFactory var1, Set var2) {
      this.this$0 = var1;
      this.val$propertyDescriptors = var2;
   }

   public UserMappingConfig call(LdapIdentityProviderMapping var1) throws ResourceFactory.InvalidResourceException {
      UserMappingConfig var2 = new UserMappingConfig();
      var2.setObjClass(var1.getObjectClass());
      this.this$0.a(var2, var1.getMappings(), this.val$propertyDescriptors);
      return var2;
   }
}
