Lines Matching refs:codesource
265 * <li> <i>codesource</i> must not be null.
267 * of this object's certificates must be present in <i>codesource</i>'s
271 * <i>codesource</i>'s:
273 * <li> <i>codesource</i>'s location must not be null.
276 * equals <i>codesource</i>'s location, then return true.
279 * equal to <i>codesource</i>'s protocol, ignoring case.
284 * SocketPermission constructed with <i>codesource</i>'s host.
288 * <i>codesource</i>'s port or default port
289 * (codesource.getLocation().getDefaultPort()).
292 * <i>codesource</i>'s file, then the following checks are made:
294 * then <i>codesource</i>'s file must start with this object's
297 * then <i>codesource</i>'s file must start with this object's
300 * then <i>codesource</i>'s file must match this object's
304 * not null, it must equal <i>codesource</i>'s reference.
309 * For example, the codesource objects with the following locations
311 * the codesource with the location "http://java.sun.com/classes/foo.jar"
323 * @param codesource CodeSource to compare against.
325 * @return true if the specified codesource is implied by this codesource,
328 public boolean implies(CodeSource codesource)
330 if (codesource == null)
333 return matchCerts(codesource, false) && matchLocation(codesource);