public class LdaptiveResourceCRLFetcher extends ResourceCRLFetcher
| Modifier and Type | Field and Description |
|---|---|
protected org.ldaptive.ConnectionConfig |
connectionConfig
The connection config to prep for connections.
|
protected org.ldaptive.SearchExecutor |
searchExecutor
Search exec that looks for the attribute.
|
logger| Constructor and Description |
|---|
LdaptiveResourceCRLFetcher(org.ldaptive.ConnectionConfig connectionConfig,
org.ldaptive.SearchExecutor searchExecutor)
Instantiates a new Ldap resource cRL fetcher.
|
| Modifier and Type | Method and Description |
|---|---|
protected X509CRL |
fetchCRLFromLdap(Object r)
Downloads a CRL from given LDAP url.
|
protected X509CRL |
fetchInternal(Object r)
Fetch the resource.
|
protected X509CRL |
fetchX509CRLFromAttribute(org.ldaptive.LdapAttribute aval)
Gets x509 cRL from attribute.
|
protected org.ldaptive.Response<org.ldaptive.SearchResult> |
performLdapSearch(String ldapURL)
Executes an LDAP search against the supplied URL.
|
protected org.ldaptive.ConnectionFactory |
prepareConnectionFactory(String ldapURL)
Prepare a new LDAP connection.
|
fetch, fetchprotected final org.ldaptive.SearchExecutor searchExecutor
protected final org.ldaptive.ConnectionConfig connectionConfig
public LdaptiveResourceCRLFetcher(@NotNull
org.ldaptive.ConnectionConfig connectionConfig,
@NotNull
org.ldaptive.SearchExecutor searchExecutor)
connectionConfig - the connection configurationsearchExecutor - the search executorprotected X509CRL fetchInternal(Object r) throws Exception
ResourceCRLFetcherfetchInternal in class ResourceCRLFetcherr - the resource which can be URL, URI, String
or AbstractResourceException - the exceptionprotected X509CRL fetchCRLFromLdap(Object r) throws Exception
r - the resource that is the ldap url.Exception - if connection to ldap fails, or attribute to get the revocation list is unavailableprotected X509CRL fetchX509CRLFromAttribute(org.ldaptive.LdapAttribute aval) throws Exception
aval - the attribute, which may be null if it's not foundException - if attribute not found or could could not be decoded.protected org.ldaptive.Response<org.ldaptive.SearchResult> performLdapSearch(String ldapURL) throws org.ldaptive.LdapException
ldapURL - to searchorg.ldaptive.LdapException - if an error occurs performing the searchprotected org.ldaptive.ConnectionFactory prepareConnectionFactory(String ldapURL)
ldapURL - the ldap uRLCopyright © 2004-2015 Apereo. All Rights Reserved.