|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.adaptors.x509.authentication.handler.support.AbstractCRLRevocationChecker
org.jasig.cas.adaptors.x509.authentication.handler.support.ResourceCRLRevocationChecker
public class ResourceCRLRevocationChecker
CRL-based revocation checker that uses one or more CRL resources to fetch
local or remote CRL data periodically. CRL resources should be supplied for
the issuers of all certificates (and intervening certificates for certificate
chains) that are expected to be presented to X509CredentialsAuthenticationHandler.
| Nested Class Summary | |
|---|---|
protected class |
ResourceCRLRevocationChecker.CRLFetcher
Handles details of fetching CRL data from resources. |
| Field Summary | |
|---|---|
static int |
DEFAULT_REFRESH_INTERVAL
Default refresh interval is 1 hour. |
| Fields inherited from class org.jasig.cas.adaptors.x509.authentication.handler.support.AbstractCRLRevocationChecker |
|---|
log |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jasig.cas.adaptors.x509.authentication.handler.support.AbstractCRLRevocationChecker |
|---|
check, setExpiredCRLPolicy, setUnavailableCRLPolicy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_REFRESH_INTERVAL
| Constructor Detail |
|---|
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.| Method Detail |
|---|
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)
AbstractCRLRevocationChecker
getCRL in class AbstractCRLRevocationCheckercert - Certificate for which the CRL of the issuing CA should be retrieved.
AbstractCRLRevocationChecker.getCRL(X509Certificate)
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||