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 CertificateRepo
public List<X509Certificate> getCaCerts()
getCaCerts
in interface CertificateRepo
public List<X509CRL> getCRLs()
getCRLs
in interface CertificateRepo
public X509Certificate findBySubjectDn(String id)
findBySubjectDn
in interface CertificateRepo
public X509Certificate findByServiceName(String serviceName)
findByServiceName
in interface CertificateRepo
public X509Certificate findByEndpoint(String endpoint)
findByEndpoint
in interface CertificateRepo
public X509Certificate findByIssuerSerial(String issuer, String serial)
findByIssuerSerial
in interface CertificateRepo
public void saveCertificate(X509Certificate cert, UseKeyWithType key)
saveCertificate
in interface CertificateRepo
Apache CXF