com.groupbyinc.flux.common.settings.SecureSetting.class Maven / Gradle / Ivy
???? 4 ? 1com/groupbyinc/flux/common/settings/SecureSetting HLcom/groupbyinc/flux/common/settings/Setting; +com/groupbyinc/flux/common/settings/Setting SecureSetting.java 3com/groupbyinc/flux/common/settings/SecureSetting$1 Ccom/groupbyinc/flux/common/settings/SecureSetting$SecureFileSetting SecureFileSetting Gcom/groupbyinc/flux/common/settings/SecureSetting$InsecureStringSetting InsecureStringSetting Ecom/groupbyinc/flux/common/settings/SecureSetting$SecureStringSetting SecureStringSetting 4com/groupbyinc/flux/common/settings/Setting$Property Property 4com/groupbyinc/flux/common/settings/Settings$Builder ,com/groupbyinc/flux/common/settings/Settings Builder ALLOW_INSECURE_SETTINGS Z ALLOWED_PROPERTIES Ljava/util/Set; GLjava/util/Set; FIXED_PROPERTIES 7[Lcom/groupbyinc/flux/common/settings/Setting$Property; $assertionsDisabled L(Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V java/lang/String $ & *com/groupbyinc/flux/common/util/ArrayUtils ( concat L([Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Class;)[Ljava/lang/Object; * +
) , {(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V " /
0 ! 2 assertAllowedProperties :([Lcom/groupbyinc/flux/common/settings/Setting$Property;)Z 4 5
6 java/lang/AssertionError 8 ()V " :
9 ; this 8Lcom/groupbyinc/flux/common/settings/SecureSetting; 3Lcom/groupbyinc/flux/common/settings/SecureSetting; key Ljava/lang/String;
properties C
java/util/Set E contains (Ljava/lang/Object;)Z G H F I property 6Lcom/groupbyinc/flux/common/settings/Setting$Property;
getDefaultRaw B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String; 'java/lang/UnsupportedOperationException O secure settings are not strings Q (Ljava/lang/String;)V " S
P T settings .Lcom/groupbyinc/flux/common/settings/Settings;
getDefault B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object; getRaw exists 1(Lcom/groupbyinc/flux/common/settings/Settings;)Z getSecureSettings 6()Lcom/groupbyinc/flux/common/settings/SecureSettings; ] ^
_ 2com/groupbyinc/flux/common/settings/SecureSettings a getSettingNames ()Ljava/util/Set; c d b e getKey ()Ljava/lang/String; g h
i secureSettings 4Lcom/groupbyinc/flux/common/settings/SecureSettings; get &java/security/GeneralSecurityException n checkDeprecation 1(Lcom/groupbyinc/flux/common/settings/Settings;)V p q
r [ \
t "java/lang/IllegalArgumentException v java/lang/StringBuilder x
y ; Setting [ { append -(Ljava/lang/String;)Ljava/lang/StringBuilder; } ~
y r] is a secure setting and must be stored inside the Elasticsearch keystore, but was found inside elasticsearch.yml ? toString ? h
y ?
w T getFallback ? Y
? getSecret H(Lcom/groupbyinc/flux/common/settings/SecureSettings;)Ljava/lang/Object; ? ?
? java/lang/RuntimeException ? failed to read secure setting ? *(Ljava/lang/String;Ljava/lang/Throwable;)V " ?
? ? e (Ljava/security/GeneralSecurityException; diff ?(Lcom/groupbyinc/flux/common/settings/Settings$Builder;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/Settings;)V builder 6Lcom/groupbyinc/flux/common/settings/Settings$Builder; source defaultSettings secureString ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;[Lcom/groupbyinc/flux/common/settings/Setting$Property;Lcom/groupbyinc/flux/common/settings/SecureSetting$1;)V " ?
? name fallback aLcom/groupbyinc/flux/common/settings/Setting; -Lcom/groupbyinc/flux/common/settings/Setting; insecureString A(Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Setting; J(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/SecureSetting$1;)V " ?
?
secureFile
? DLcom/groupbyinc/flux/common/settings/Setting; ?(Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;Lcom/groupbyinc/flux/common/settings/SecureSetting$1;)V " #
? x0 x1 x2 5Lcom/groupbyinc/flux/common/settings/SecureSetting$1;
access$400 ()Z ? java/lang/Class ? desiredAssertionStatus ? ?
? ? es.allow_insecure_settings ? false ? java/lang/System ? getProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ? ?
? ? #com/groupbyinc/flux/common/Booleans ? parseBoolean (Ljava/lang/String;)Z ? ?
? ?
Deprecated ? L ? java/util/EnumSet ? of %(Ljava/lang/Enum;)Ljava/util/EnumSet; ? ?
? ? NodeScope ? L ? Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable 3(Lcom/groupbyinc/flux/common/settings/Settings;)TT;
Exceptions 9(Lcom/groupbyinc/flux/common/settings/SecureSettings;)TT;
(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; u(Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Setting; ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;
SourceFile InnerClasses! ? ! ? " # ? ? -*+? %,? '? -? .? 1? 3? *,? 7? ? 9Y? ? ? - = ? - @ A - B ? - = > ? / 0 , 1 ? ? , % . ? 4 5 ? ? ++M,?>6? ,2:? D? J ? ?????? ? K L + = ? + B ? + = > ? 4 5 ! 6 # 4 ) 9 ? ? .? M N ? P
? PYR? U? ?
= ?
V W ?
= > ? > X Y ? P
? PYR? U? ?
= ?
V W ?
= > ? C ? ? Z N ? P
? PYR? U? ?
= ?
V W ?
= > ? H [ \ ? ? !+? `M,? ,? f *? j? J ? ? ? ? ! = ? ! V W k l ? ! = > ?
M N ?
? b@ m Y ?
w*+? s+? `M,? ,? f *? j? J ? 4*+? u? &? wY? yY? z|? ?*? j? ??? ?? ?? ??*+? ??*,? ??N? ?Y? yY? z?? ?*? j? ?? ?-? ?? Q V W o ? * X ? ? w = ? w V W
m k l ? w = > ? &