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

com.groupbyinc.flux.plugins.PluginSecurity.class Maven / Gradle / Ivy

????4**com/groupbyinc/flux/plugins/PluginSecurityjava/lang/ObjectPluginSecurity.java,com/groupbyinc/flux/plugins/PluginSecurity$1*com/groupbyinc/flux/cli/Terminal$Verbosity com/groupbyinc/flux/cli/Terminal
	Verbosityjava/security/Policy$Parameters
java/security/Policy
Parameters()V
this,Lcom/groupbyinc/flux/plugins/PluginSecurity;
readPolicy(Lcom/groupbyinc/flux/plugins/PluginInfo;Ljava/nio/file/Path;Lcom/groupbyinc/flux/cli/Terminal;Ljava/util/function/Supplier;Z)Vjava/io/IOExceptionjava/util/function/Supplierget()Ljava/lang/Object; java/nio/file/Path"parsePermissionsp(Lcom/groupbyinc/flux/cli/Terminal;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/security/PermissionCollection;$%
&"java/security/PermissionCollection(elements()Ljava/util/Enumeration;*+
),java/util/Collections.list.(Ljava/util/Enumeration;)Ljava/util/ArrayList;01
/2java/util/List4isEmpty()Z6758VERBOSE,Lcom/groupbyinc/flux/cli/Terminal$Verbosity;:;		<7plugin has a policy file with no additional permissions>printlnA(Lcom/groupbyinc/flux/cli/Terminal$Verbosity;Ljava/lang/String;)V@A
B
sort)(Ljava/util/List;Ljava/util/Comparator;)VEF
/GNORMALI;		J;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@L;@     WARNING: plugin requires additional permissions     @Niterator()Ljava/util/Iterator;PQ5Rjava/util/IteratorThasNextV7UWnextYUZjava/security/Permission\java/lang/StringBuilder^
_* aappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;cd
_eformatPermission.(Ljava/security/Permission;)Ljava/lang/String;gh
itoString()Ljava/lang/String;kl
_mSSee http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.htmloJfor descriptions of what these permissions allow and the associated risks.qprompt&(Lcom/groupbyinc/flux/cli/Terminal;Z)Vst
u&com/groupbyinc/flux/plugins/PluginInfowhasNativeControllery7
xz;@        WARNING: plugin forks a native controller        @|HThis plugin launches a native controller that is not subject to the Java~,security manager nor to system call filters.?
permissionLjava/security/Permission;info(Lcom/groupbyinc/flux/plugins/PluginInfo;fileLjava/nio/file/Path;terminal"Lcom/groupbyinc/flux/cli/Terminal;tmpFile3Ljava/util/function/Supplier;Ljava/util/function/Supplier;batchZpermissions$Ljava/security/PermissionCollection;	requested,Ljava/util/List;Ljava/util/List;?!Continue with installation? [y/N]?readText&(Ljava/lang/String;)Ljava/lang/String;??
?y?java/lang/String?equalsIgnoreCase(Ljava/lang/String;)Z??
??java/lang/RuntimeException?installation aborted by user?(Ljava/lang/String;)V?
??textLjava/lang/String;"java/security/UnresolvedPermission?getUnresolvedType?l
??getClass()Ljava/lang/Class;??
?java/lang/Class?getName?l
??getUnresolvedName?l
??
]?length()I??
??(C)Ljava/lang/StringBuilder;c?
_?getUnresolvedActions?l
??
getActions?l
]?sbLjava/lang/StringBuilder;clazznameactions&java/security/NoSuchAlgorithmException?empty?tmp?%java/nio/file/attribute/FileAttribute?java/nio/file/Files?createTempFilev(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;??
??
JavaPolicy?java/security/URIParameter?toUri()Ljava/net/URI;??#?(Ljava/net/URI;)V?
??getInstanceK(Ljava/lang/String;Ljava/security/Policy$Parameters;)Ljava/security/Policy;??
?(Ljava/lang/Throwable;)V?
??5com/groupbyinc/flux/common/apache/lucene/util/IOUtils?rm([Ljava/nio/file/Path;)V??
??getProtectionDomain"()Ljava/security/ProtectionDomain;??
??getPermissionsF(Ljava/security/ProtectionDomain;)Ljava/security/PermissionCollection;??
?UNSUPPORTED_EMPTY_COLLECTION??	'java/lang/UnsupportedOperationExceptionAJavaPolicy implementation does not support retrieving permissions
?java/security/Permissions
java/util/ArrayList

Rimplies=(Ljava/security/ProtectionDomain;Ljava/security/Permission;)Z

add(Ljava/security/Permission;)V
)setReadOnly
)emptyPolicyLjava/security/Policy;e(Ljava/security/NoSuchAlgorithmException;policytmpDiremptyPolicyFileactualPermissionsCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
Exceptions	Signature?(Lcom/groupbyinc/flux/plugins/PluginInfo;Ljava/nio/file/Path;Lcom/groupbyinc/flux/cli/Terminal;Ljava/util/function/Supplier;Z)V
SourceFileInnerClasses  /*??!") ?	?,+-?!?#?':?-?3:?9?,?=??C???Y?D?H,?KM?C,?KO?C,?KM?C?S:?X?0?[?]:,?K?_Y?`b?f?j?f?n?C???,?Kp?C,?Kr?C,?v*?{?6,?KM?C,?K}?C,?KM?C,?K?C,?K??C,?v?!Rv???????????????????????#??????"Z/01$206<TEUNVWXvY?Z?[?\?]?`?a?b?c?d?e?f?h$?0)5?/U?69%&'
st ?(?&*?K??C*???M,????
??Y?????! ??(??(??"kl
mno'r$'gh [??_Y?`LM*???*????M?*????M+,?fWN*???*????N?*??N-?-?ž+ ??W+-?fW:*???*????:?	*??:??ž+ ??W+?fW+?n?!4??????
???,k??^9??"Vvx
yz|$~*?,?3?>?C?N?U?[?^?e?q?w???????$?_?????$% 	
?,???ظ?N??Y-?????:?:??Y???#Y-S????Y+?????:?:??Y??????:???Y???Y?	:?-?3?:?X?(?[?]:	??	??
	??????
!$?;OR?!?
!&
OT
???	????????
??0?^lj`???D?"R?
?!?$?&?0?;?O?R?T?^?j?r?}?????????????$;?$###??a???)?)U+?%()	@	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy