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

import com.l7tech.gateway.common.security.SpecialKeyType;
import com.l7tech.util.Either;
import com.l7tech.util.Functions.Unary;

class b7 implements Unary<Either<String, SpecialKeyType>, String> {
   b7(b6 var1) {
   }

   public Either<String, SpecialKeyType> call(String var1) {
      try {
         return Either.right((SpecialKeyType)ao.getEnumValue(SpecialKeyType.class, var1));
      } catch (ResourceFactory.InvalidResourceException var3) {
         return Either.left(var1);
      }
   }
}
