org.aselect.authspserver.authsp.pki.cert.handler.ldap
Class LDAPCertificateHandler
java.lang.Object
org.aselect.authspserver.authsp.pki.cert.handler.ldap.LDAPCertificateHandler
- All Implemented Interfaces:
- ICertificateHandler
public class LDAPCertificateHandler
- extends java.lang.Object
- implements ICertificateHandler
The LDAP Certificate Handler.
Description:
This Certificate Handler retrieve certificates from a LDAP Back-end.
implements the ICRLHandler interface
Concurrency issues:
None
- Author:
- Alfa & Ariss
Field Summary |
static java.lang.String |
MODULE
The name of this module, that is used in the system logging. |
Method Summary |
java.security.KeyStore |
getCertificates(java.lang.String sSubjectDn)
Returns the found certificates on the backend in a Keystore. |
void |
init(AuthSPSystemLogger oSystemLogger,
java.lang.Object oBackendConfig)
Initialize the LDAP Certificate Handler
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODULE
public static final java.lang.String MODULE
- The name of this module, that is used in the system logging.
- See Also:
- Constant Field Values
LDAPCertificateHandler
public LDAPCertificateHandler()
init
public void init(AuthSPSystemLogger oSystemLogger,
java.lang.Object oBackendConfig)
throws ASelectException
- Initialize the LDAP Certificate Handler
- Specified by:
init
in interface ICertificateHandler
- Parameters:
oSystemLogger
- the System LoggeroBackendConfig
- the configuration of the used back-end
- Throws:
ASelectException
- See Also:
ICertificateHandler.init(org.aselect.authspserver.log.AuthSPSystemLogger, java.lang.Object)
getCertificates
public java.security.KeyStore getCertificates(java.lang.String sSubjectDn)
throws ASelectException
- Returns the found certificates on the backend in a Keystore.
- Specified by:
getCertificates
in interface ICertificateHandler
- Returns:
- a Keystore with the found certificate(s)
- Throws:
ASelectException
- See Also:
ICertificateHandler.getCertificates(java.lang.String)
Copyright © 2008 SURFnet BV. All Rights Reserved.