|
||||||||||
| 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
public abstract class AbstractCRLRevocationChecker
Base class for all CRL-based revocation checkers.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
Logger instance |
| Constructor Summary | |
|---|---|
AbstractCRLRevocationChecker()
|
|
| Method Summary | |
|---|---|
void |
check(X509Certificate cert)
Checks the revocation status of the given certificate. |
protected abstract X509CRL |
getCRL(X509Certificate cert)
Gets the CRL for the given certificate. |
void |
setExpiredCRLPolicy(RevocationPolicy<X509CRL> policy)
Sets the policy to apply when CRL data is expired. |
void |
setUnavailableCRLPolicy(RevocationPolicy<Void> policy)
Sets the policy to apply when CRL data is unavailable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public AbstractCRLRevocationChecker()
| Method Detail |
|---|
public void check(X509Certificate cert)
throws GeneralSecurityException
check in interface RevocationCheckercert - Certificate to examine.
GeneralSecurityException - If certificate has been revoked or the revocation
check fails for some reason such as revocation data not available.public void setUnavailableCRLPolicy(RevocationPolicy<Void> policy)
policy - Revocation policy.public void setExpiredCRLPolicy(RevocationPolicy<X509CRL> policy)
policy - Revocation policy.protected abstract X509CRL getCRL(X509Certificate cert)
cert - Certificate for which the CRL of the issuing CA should be retrieved.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||