|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.util.CRLDownloader
Class which encapsulates all the logic for fetching a collection of CRLs from a URL
Field Summary | |
static long |
DEFAULT_CACHE_LIFETIME
|
Constructor Summary | |
CRLDownloader()
|
|
CRLDownloader(long cacheLifetime)
|
Method Summary | |
java.util.Collection |
downloadCRLs(java.lang.String url,
boolean cache)
Downloads the CRL(s) from a given url. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long DEFAULT_CACHE_LIFETIME
Constructor Detail |
public CRLDownloader()
public CRLDownloader(long cacheLifetime)
Method Detail |
public java.util.Collection downloadCRLs(java.lang.String url, boolean cache) throws WavesetException
url
- The url to download from. May be ldap, ldaps, or
any standard url supported by java's URL class.cache
- If true, we will cache the result crls until the
nextUpdate for the CRL or until the cacheLifetime has
expired, whichever comes first.
WavesetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |