public class LdapCertificateRepo extends Object implements CertificateRepo
| Constructor and Description |
|---|
LdapCertificateRepo(LdapSearch ldapSearch,
LdapSchemaConfig ldapConfig,
String rootDN) |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
findByEndpoint(String endpoint) |
X509Certificate |
findByIssuerSerial(String issuer,
String serial) |
X509Certificate |
findByServiceName(String serviceName) |
X509Certificate |
findBySubjectDn(String id) |
List<X509Certificate> |
getCaCerts() |
List<X509CRL> |
getCRLs() |
List<X509Certificate> |
getTrustedCaCerts() |
void |
saveCertificate(X509Certificate cert,
UseKeyWithType key) |
public LdapCertificateRepo(LdapSearch ldapSearch, LdapSchemaConfig ldapConfig, String rootDN)
ldapSearch - rootDN - rootDN of the LDAP treetrustedAuthorityFilter - intermediateFilter - attrName - public List<X509Certificate> getTrustedCaCerts()
getTrustedCaCerts in interface CertificateRepopublic List<X509Certificate> getCaCerts()
getCaCerts in interface CertificateRepopublic List<X509CRL> getCRLs()
getCRLs in interface CertificateRepopublic X509Certificate findBySubjectDn(String id)
findBySubjectDn in interface CertificateRepopublic X509Certificate findByServiceName(String serviceName)
findByServiceName in interface CertificateRepopublic X509Certificate findByEndpoint(String endpoint)
findByEndpoint in interface CertificateRepopublic X509Certificate findByIssuerSerial(String issuer, String serial)
findByIssuerSerial in interface CertificateRepopublic void saveCertificate(X509Certificate cert, UseKeyWithType key)
saveCertificate in interface CertificateRepoApache CXF