Code examples for CodeSource

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
124:	url = cs.getLocation(); 
Full Snippet Info
7
CodeRank
82:	URL codeSourceURL = PolicyUtils.normalizeURL(codeSource.getLocation()); 
-
85:	if (codeSourceURL != codeSource.getLocation()) { 
-
87:	CodeSigner[] signers = codeSource.getCodeSigners(); 
-
90:	.getCertificates()); 
Full Snippet Info
6
CodeRank
45:	CodeSource cs = new CodeSource(codeSourceURL, new Certificate[0]); 
46:	PermissionCollection perms = Policy.getPolicy().getPermissions(cs); 
Full Snippet Info
6
CodeRank
52:	new CodeSource(thisURL, (java.security.cert.Certificate[]) null); 
-
56:	if (thisCs.implies(thatCs) != result) { 
Full Snippet Info
6
CodeRank
67:	new CodeSource(null, (Certificate[]) null), perms) }); 
-
91:	Thread.sleep(2000); 
Full Snippet Info
6
CodeRank
27:	CodeSource cs = new CodeSource(null, (Certificate[]) null); 
Full Snippet Info
6
CodeRank
60:	return new JarLibraryLoader(new CodeSource(url, codeSigners()), "lib"); 
Full Snippet Info
5
CodeRank
57:	URL url = cs.getLocation(); 
Full Snippet Info
5
CodeRank
82:	URL codeSourceURL = PolicyUtils.normalizeURL(codeSource.getLocation()); 
-
85:	if (codeSourceURL != codeSource.getLocation()) { 
-
87:	CodeSigner[] signers = codeSource.getCodeSigners(); 
-
90:	codeSource.getCertificates()); 
Full Snippet Info
5
CodeRank
107:	.getLocation()); 
-
110:	if (codeSourceURL != codeSource.getLocation()) { 
-
112:	final CodeSigner[] signers = codeSource.getCodeSigners(); 
-
115:	codeSource.getCertificates()); 
Full Snippet Info
5
CodeRank
45:	CodeSource cs = new CodeSource(codeSourceURL, new Certificate[0]); 
46:	PermissionCollection perms = Policy.getPolicy().getPermissions(cs); 
Full Snippet Info
5
CodeRank
74:	(new CodeSource(url2, 
Full Snippet Info
5
CodeRank
52:	new CodeSource(thisURL, (java.security.cert.Certificate[]) null); 
-
56:	if (thisCs.implies(thatCs) != result) { 
Full Snippet Info
5
CodeRank
152:	new CodeSource(rootURL, new Certificate[0]), new Permissions()); 
Full Snippet Info
5
CodeRank
41:	helper = SharedLibHelper.findHelper(this, libname, 
42:	new CodeSource(url, null), true); 
Full Snippet Info
5
CodeRank
45:	CodeSource cs = new CodeSource(codeSourceURL, new Certificate[0]); 
46:	PermissionCollection perms = Policy.getPolicy().getPermissions(cs); 
Full Snippet Info
5
CodeRank
67:	new CodeSource(null, (Certificate[]) null), perms) }); 
-
91:	Thread.sleep(2000); 
Full Snippet Info
5
CodeRank
52:	new CodeSource(thisURL, (java.security.cert.Certificate[]) null); 
-
56:	if (thisCs.implies(thatCs) != result) { 
Full Snippet Info
5
CodeRank
204:	new URL[] {codeSource.getLocation()}, clazz.getClassLoader()); 
Full Snippet Info
5
CodeRank
67:	new CodeSource(null, (Certificate[]) null), perms) }); 
-
91:	Thread.sleep(2000); 
Full Snippet Info
5
CodeRank