jp.openstandia.midpoint.grpc.ServerConstant Maven / Gradle / Ivy
package jp.openstandia.midpoint.grpc;
import com.evolveum.midpoint.security.api.ConnectionEnvironment;
import com.evolveum.midpoint.security.api.HttpConnectionInformation;
import com.evolveum.midpoint.task.api.Task;
import io.grpc.Context;
import org.springframework.security.core.Authentication;
public class ServerConstant {
public static final Context.Key ConnectionContextKey = Context.key("connection");
public static final Context.Key ConnectionEnvironmentContextKey = Context.key("connectionEnvironment");
public static final Context.Key TaskContextKey = Context.key("midpointTask");
public static final Context.Key AuthenticationContextKey = Context.key("authentication");
public static final Context.Key AuthorizationHeaderContextKey = Context.key("authorization");
}