All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.bootstrap.Security.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?&com/groupbyinc/flux/bootstrap/Securityjava/lang/Object
Security.javajava/util/Map$Entry
java/util/MapEntry:com/groupbyinc/flux/transport/TcpTransport$ProfileSettings*com/groupbyinc/flux/transport/TcpTransport
ProfileSettingsXcom/groupbyinc/flux/bootstrap/ElasticsearchUncaughtExceptionHandler$PrivilegedHaltActionCcom/groupbyinc/flux/bootstrap/ElasticsearchUncaughtExceptionHandlerPrivilegedHaltActionjava/security/Policy$Parametersjava/security/Policy
Parameters()V
this(Lcom/groupbyinc/flux/bootstrap/Security;	configure)(Lcom/groupbyinc/flux/env/Environment;Z)Vjava/io/IOException"&java/security/NoSuchAlgorithmException$%com/groupbyinc/flux/bootstrap/JarHell&parseClassPath()Ljava/util/Set;()
'*getCodebaseJarMap (Ljava/util/Set;)Ljava/util/Map;,-
.&com/groupbyinc/flux/bootstrap/ESPolicy0createPermissionsB(Lcom/groupbyinc/flux/env/Environment;)Ljava/security/Permissions;23
4getPluginPermissions6(Lcom/groupbyinc/flux/env/Environment;)Ljava/util/Map;67
8F(Ljava/util/Map;Ljava/security/PermissionCollection;Ljava/util/Map;Z)V:
1;	setPolicy(Ljava/security/Policy;)V=>
?java/lang/StringAjava/lang/ClassCgetName()Ljava/lang/String;EF
DG$I\$KreplaceD(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;MN
BOcom/groupbyinc/flux/cli/CommandQ&com/groupbyinc/flux/secure_sm/SecureSMS([Ljava/lang/String;)VU
TVjava/lang/SystemXsetSecurityManager(Ljava/lang/SecurityManager;)VZ[
Y\selfTest^
_environment%Lcom/groupbyinc/flux/env/Environment;filterBadDefaultsZ	codebases1Ljava/util/Map;Ljava/util/Map;classesThatCanExit[Ljava/lang/String;.Lcom/groupbyinc/flux/common/SuppressForbidden;reason
find URL pathjava/net/URISyntaxExceptionmjava/util/LinkedHashMapo
p
java/util/Setriterator()Ljava/util/Iterator;tusvjava/util/IteratorxhasNext()Zz{y|next()Ljava/lang/Object;~y?java/net/URL?toURI()Ljava/net/URI;??
??'com/groupbyinc/flux/common/io/PathUtils?get$(Ljava/net/URI;)Ljava/nio/file/Path;??
??java/nio/file/Path?getFileName()Ljava/nio/file/Path;????toString?F??.jar?endsWith(Ljava/lang/String;)Z??
B?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??	?java/lang/RuntimeException?(Ljava/lang/Throwable;)V?
??fileNameLjava/lang/String;eLjava/net/URISyntaxException;urlLjava/net/URL;urlsLjava/util/Set;Ljava/util/Set;proper use of URLjava/lang/Throwable?java/util/HashMap?
?java/util/LinkedHashSet?#com/groupbyinc/flux/env/Environment?pluginsFile??
??*com/groupbyinc/flux/plugins/PluginsService?findPluginDirs&(Ljava/nio/file/Path;)Ljava/util/List;??
??(Ljava/util/Collection;)V?
??modulesFile??
??addAll(Ljava/util/Collection;)Z??s?plugin-security.policy?resolve((Ljava/lang/String;)Ljava/nio/file/Path;????java/nio/file/LinkOption?java/nio/file/Files?exists2(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z??
??
?*.jar?newDirectoryStreamG(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/DirectoryStream;??
??java/nio/file/DirectoryStream??v
toRealPath1([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;????toUri????java/net/URI?toURL()Ljava/net/URL;??
??add(Ljava/lang/Object;)Z??s?java/lang/IllegalStateException?java/lang/StringBuilder?
?duplicate module/plugin: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?
?
??(Ljava/lang/String;)V
?close?
addSuppressed
?
?
readPolicy5(Ljava/net/URL;Ljava/util/Map;)Ljava/security/Policy;

getFileF
?5per-plugin permissions already granted for jar file: java/util/CollectionsunmodifiableMap (Ljava/util/Map;)Ljava/util/Map;
jarLjava/nio/file/Path;	jarStream5Ljava/nio/file/DirectoryStream;Ljava/nio/file/DirectoryStream;policyLjava/security/Policy;
policyFilepluginmap9Ljava/util/Map;pluginsAndModules%Ljava/util/Set;3accesses fully qualified URLs to configure securityjava/util/ArrayList*
+entrySet-)	.java/util/List0getKey23getValue56	codebase.8-\d+\.\d+.*\.jar:<replaceFirst8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;>?
B@equalsB?
BC1?
??setPropertyG?
YHcodebase property already set: J -> L, cannot set to N
JavaPolicyPjava/security/URIParameterR(Ljava/net/URI;)VT
SUgetInstanceK(Ljava/lang/String;Ljava/security/Policy$Parameters;)Ljava/security/Policy;WX
Y1v
clearProperty&(Ljava/lang/String;)Ljava/lang/String;\]
Y^java/lang/Exception`"java/lang/IllegalArgumentExceptionbunable to parse policy file `d`f*(Ljava/lang/String;Ljava/lang/Throwable;)Vh
cipreviousnameproperty
aliasPropertycodebase7Ljava/util/Map$Entry;Ljava/util/Map$Entry;
propertiesSet$Ljava/util/List;Ljava/util/List;Ljava/lang/Exception;java/security/Permissionsv
waddClasspathPermissions(Ljava/security/Permissions;)Vyz
{addFilePermissionsC(Ljava/security/Permissions;Lcom/groupbyinc/flux/env/Environment;)V}~
settings0()Lcom/groupbyinc/flux/common/settings/Settings;??
??addBindPermissionsL(Ljava/security/Permissions;Lcom/groupbyinc/flux/common/settings/Settings;)V??
?Ljava/security/Permissions;isDirectory??
??
class.path?
read,readlink?1com/groupbyinc/flux/bootstrap/FilePermissionUtils?addDirectoryPathV(Ljava/security/Permissions;Ljava/lang/String;Ljava/nio/file/Path;Ljava/lang/String;)V??
??addSingleFilePathD(Ljava/security/Permissions;Ljava/nio/file/Path;Ljava/lang/String;)V??
??pathPATH_HOME_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;??	??+com/groupbyinc/flux/common/settings/Setting?2F
??binFile??
??libFile??
??
path.conf'?
configFile??
??java.io.tmpdir?tmpFile??
??read,readlink,write,delete?PATH_LOGS_SETTING??	??logsFile??
??sharedDataFile??
??PATH_SHARED_DATA_SETTING??	??java/util/HashSet?
?	dataFiles()[Ljava/nio/file/Path;??
??[Ljava/nio/file/Path;?PATH_DATA_SETTING??	??path [?] is duplicated by [?]?unable to access [?
?i	repoFiles??
??PATH_REPO_SETTING??	??pidFile??
??delete?realPathLjava/io/IOException;dataFilesPathsaddSocketPermissionForHttp??
?'addSocketPermissionForTransportProfiles??
? addSocketPermissionForTribeNodes??
?.Lcom/groupbyinc/flux/common/settings/Settings;.com/groupbyinc/flux/http/HttpTransportSettings?SETTING_HTTP_PORT??	??B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;??
??/com/groupbyinc/flux/common/transport/PortsRange?getPortRangeString?F
??addSocketPermissionForPortRange0(Ljava/security/Permissions;Ljava/lang/String;)V??
?	httpRangegetProfileSettings?(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/util/Set;
portOrRange?	profile;uniquePortRanges#Ljava/util/Set;addSocketPermissionForTransportPORT?	transportRangetribe,com/groupbyinc/flux/common/settings/Settings	getGroups$(Ljava/lang/String;Z)Ljava/util/Map;
values()Ljava/util/Collection;	java/util/Collection v0com/groupbyinc/flux/common/network/NetworkModule"HTTP_ENABLED$?	#%1(Lcom/groupbyinc/flux/common/settings/Settings;)Z?'
?(java/lang/Boolean*booleanValue,{
+-?
/tribeNodeSettingsjava/net/SocketPermission2*:4listen,resolve6'(Ljava/lang/String;Ljava/lang/String;)V8
39(Ljava/security/Permission;)V?;
w<	portRangeensureDirectoryExists(Ljava/nio/file/Path;)V(java/nio/file/FileAlreadyExistsExceptionA
getFileSystem()Ljava/nio/file/FileSystem;CD?Ejava/nio/file/FileSystemGprovider(()Ljava/nio/file/spi/FileSystemProvider;IJ
HKjava/nio/file/AccessModeMREADLjava/nio/file/AccessMode;OP	NQ$java/nio/file/spi/FileSystemProviderScheckAccess2(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)VUV
TW%java/nio/file/attribute/FileAttributeYcreateDirectoriesR(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;[\
?]#java/nio/file/NotDirectoryException_
`
#e2*Ljava/nio/file/FileAlreadyExistsException;+accesses jvm default tempdir as a self-testjava/lang/SecurityExceptionfcreateTempFileb(Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;hi
?j?@
?l7Security misconfiguration: cannot access java.io.tmpdirn
gipproblemLjava/lang/SecurityException;CodeLocalVariableTableLineNumberTableLocalVariableTypeTable
Exceptions
StackMapTable	SignatureR(Ljava/util/Set;)Ljava/util/Map;RuntimeInvisibleAnnotations`(Lcom/groupbyinc/flux/env/Environment;)Ljava/util/Map;W(Ljava/net/URL;Ljava/util/Map;)Ljava/security/Policy;
SourceFileInnerClasses0t/*??uvn !t?F?+?/M?1Y,*?5*?9?O!"KB#@M$?ab?%g~'?w*i?`-e??%&~'(v^???%?@?K?W?`?l???????????????*?>?]?m???????y??,	sy?H
?	sy??s??y?R?S?I?H??
?	sy??s??????	sy??s?y?B??	sy?x#%z}|jks?
t?
??+Y?,M+?/?wN-?}?
-???:?4?B:?7??:??Y??9?????:??Y??9??;=?A???:?D?S,?EW?F?I:		?9??Y??Y??K????M??	??O???F?????,?EW?F?I:		?9??Y??Y??K????M??	??O???F????????Q?SY*???V?ZN,?[:?}????B:?_W???-?:
,?[:?}????B:?_W???
?M?cY??Y??e??*?g???,?j?6__a_]?%]?n_??%_??nu?
?;k?	4?l?@???W?m?w?n??;k?	(?oqTm?m??rt?#?u?#??egw (?op?rs?efvv??(?4?@?W?w????????????????????!?$?6?T?Z?]?_??????????y?
?1y??	?	1yB?BB?O?	1y??y???	1??	?	1?y???	az~|jks)23t_?wY?xL+?|+*??+*????+?uab!?v?????x#yztX?+?wL+?}?H+????M,????N?:??Y???-?Ӹ??*?-????*-???????$'nu4$?)
??3!?8??X!?v*

$
')3>LTWy(?	y?wy?n????x#|jks)}~t?p*????+?????*????+?????*????+?????*????+?????*?+?????*?+?????*????+?????+???*????+???????Y??M+??N-?66??-2:*?Ͷ?????ӹ?:,???1??Y??Y??϶??Ѷ??Ӷ?????*:??Y??Y??ն??Ӷ???ֿ???q+??N-?66?-2:*?ܶ????????+???*+???????#uH?9?%????H?p!?pab????w???(vf"3D R"`#q$x%?(?)?*?1?2?3?756))/9H:W9]<d>o@y6	???w?s??a?B#?&????!x#
??tP*+??*+??*+???u!???vIJ
KL
??tZ??+??????M*,???u !????vVWX
??t?F+?M??Y??N,?w:?}?)???:-????*?????ӱu4+	F!?F??A
?
9?wA

9
vcd
f+g9iBkEly?ssy,?
?tW?+???BM*,???u !????vuvw
??t?N+???!M,?}?4,???N?&-?)??&-???+?.?*-??*-?0??ɱu &$1?N!?N??vz&|@}EJ?M?y?y?1?
??t[#*?3Y??Y??5??+???7?:?=?u#!?#>?v
?"??@t?Q*?Ӹ??&*?F?L*?ӹ??NY?RS?X?%*?Z?^W?L?`Y*???aM,+?b,??.7:Bu Ic?;?dQ?v&	??.?7?:?;?I?N?P?y.KBx#^t?#?Z?kK*?m?L?K?gYo*?p??
#gu
qrsv"?
??????"?y??#?Bgx#|jkse?"	
		




© 2015 - 2024 Weber Informatics LLC | Privacy Policy