public class ResourceCRLRevocationChecker extends AbstractCRLRevocationChecker implements org.springframework.beans.factory.InitializingBean
X509CredentialsAuthenticationHandler.| Modifier and Type | Class and Description |
|---|---|
protected class |
ResourceCRLRevocationChecker.CRLFetcher
Handles details of fetching CRL data from resources.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_REFRESH_INTERVAL
Default refresh interval is 1 hour.
|
logger| Constructor and Description |
|---|
ResourceCRLRevocationChecker(org.springframework.core.io.Resource crl)
Creates a new instance using the specified resource for CRL data.
|
ResourceCRLRevocationChecker(org.springframework.core.io.Resource[] crls)
Creates a new instance using the specified resources for CRL data.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCrl(X509CRL crl)
Adds the given CRL to the collection of CRLs held by this class.
|
void |
afterPropertiesSet()
Initializes the process that periodically fetches CRL data.
|
protected void |
finalize() |
protected X509CRL |
getCRL(X509Certificate cert)
Gets the CRL for the given certificate.
|
protected ResourceCRLRevocationChecker.CRLFetcher |
getFetcher() |
void |
setRefreshInterval(int seconds)
Sets the interval at which CRL data should be reloaded from CRL resources.
|
check, setExpiredCRLPolicy, setUnavailableCRLPolicypublic static final int DEFAULT_REFRESH_INTERVAL
public ResourceCRLRevocationChecker(org.springframework.core.io.Resource crl)
crl - Resource containing CRL data. MUST NOT be null.public ResourceCRLRevocationChecker(org.springframework.core.io.Resource[] crls)
crls - Resources containing CRL data. MUST NOT be null and MUST have
at least one non-null element.public void setRefreshInterval(int seconds)
seconds - Refresh interval in seconds; MUST be positive integer.public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionprotected ResourceCRLRevocationChecker.CRLFetcher getFetcher()
protected void addCrl(X509CRL crl)
crl - The crl to addprotected X509CRL getCRL(X509Certificate cert)
getCRL in class AbstractCRLRevocationCheckercert - Certificate for which the CRL of the issuing CA should be retrieved.AbstractCRLRevocationChecker.getCRL(X509Certificate)Copyright © 2004-2015 Jasig. All Rights Reserved.