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

import com.l7tech.gateway.common.security.SpecialKeyType;
import com.l7tech.server.admin.PrivateKeyAdminHelper;
import com.l7tech.util.Triple;
import com.l7tech.util.Functions.Unary;

class b1 implements Unary<Triple<SpecialKeyType, String, T>, SpecialKeyType> {
   final Unary val$lookup;

   b1(PrivateKeyResourceFactory var1, Unary var2) {
      this.val$lookup = var2;
   }

   public Triple<SpecialKeyType, String, T> call(SpecialKeyType var1) {
      String var2 = PrivateKeyAdminHelper.getClusterPropertyForSpecialKeyType(var1);
      return new Triple(var1, var2, this.val$lookup.call(var2));
   }
}
