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 ; 3com/groupbyinc/flux/common/settings/KeyStoreWrapper = validateSettingName (Ljava/lang/String;)V ? @
> A this 8Lcom/groupbyinc/flux/common/settings/SecureSetting; 3Lcom/groupbyinc/flux/common/settings/SecureSetting; key Ljava/lang/String;
properties I
java/util/Set K contains (Ljava/lang/Object;)Z M N L O property 6Lcom/groupbyinc/flux/common/settings/Setting$Property;
getDefaultRaw B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String; 'java/lang/UnsupportedOperationException U secure settings are not strings W " @
V Y 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; b c
d 2com/groupbyinc/flux/common/settings/SecureSettings f getSettingNames ()Ljava/util/Set; h i g j getKey ()Ljava/lang/String; l m
n secureSettings 4Lcom/groupbyinc/flux/common/settings/SecureSettings; get &java/security/GeneralSecurityException s checkDeprecation 1(Lcom/groupbyinc/flux/common/settings/Settings;)V u v
w ` a
y "java/lang/IllegalArgumentException { java/lang/StringBuilder }
~ ; Setting [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
~ ? r] is a secure setting and must be stored inside the Elasticsearch keystore, but was found inside elasticsearch.yml ? toString ? m
~ ?
| Y getFallback ? ^
? 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 ? R ? java/util/EnumSet ? of %(Ljava/lang/Enum;)Ljava/util/EnumSet; ? ?
? ? NodeScope ? R ? 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*+? %,? '? -? .? 1? 3? *,? 7? ? 9Y? +? B? ? 1 C E 1 F G 1 H ? 1 C D ? / 0 , 1 0 2 ? ? , % . ? 4 5 ? ? ++M,?>6? ,2:? J? P ? ?????? ? Q R + C E + H ? + C D ? 5 6 ! 7 # 5 ) : ? ? .? S T ? P
? VYX? Z? ?
C E
[ \ ?
C D ? ? ] ^ ? P
? VYX? Z? ?
C E
[ \ ?
C D ? D ? ? _ T ? P
? VYX? Z? ?
C E
[ \ ?
C D ? I ` a ? ? !+? eM,? ,? k *? o? P ? ? ? ? ! C E ! [ \ p q ? ! C D ?
N O ?
? g@ r ^ ?
w*+? x+? eM,? ,? k *? o? P ? 4*+? z? &? |Y? ~Y? ?? ?*? o? ??? ?? ?? ??*+? ??*,? ??N? ?Y? ~Y? ?? ?*? o? ?? ?-? ?? Q V W t ? * X ? ? w C E w [ \
m p q ? w C D ? &