Interface ILdapCertMapper

All Superinterfaces:
ILdapPlugin

public interface ILdapCertMapper extends ILdapPlugin
Interface for mapping a X509 certificate to a LDAP entry.
Version:
$Revision$ $Date$
  • Method Details

    • getImplName

      String getImplName()
      Returns implementation name.
    • getDescription

      String getDescription()
      Returns the description of this mapper.
    • getDefaultParams

      Vector<String> getDefaultParams()
      Returns the default parameters.
    • getInstanceParams

      Vector<String> getInstanceParams()
      Returns the instance parameters.
    • map

      LdapCertMapResult map(netscape.ldap.LDAPConnection conn, X509Certificate cert, boolean checkForCert) throws ELdapException
      maps a certificate to a LDAP entry. returns dn of the mapped LDAP entry.
      Parameters:
      conn - the LDAP connection
      cert - the certificate to map
      checkForCert - whether to check for the presence of the cert
      Returns:
      LdapCertMapResult indicates whether a mapping was successful and whether a certificate was found if checkForCert was true. If checkForCert was not set the hasCert method in LdapCertMapResult should be ignored.
      Throws:
      ELdapException - Failed to map.