Interface ILdapCertMapper

  • All Superinterfaces:
    ILdapPlugin

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

      • getImplName

        java.lang.String getImplName()
        Returns implementation name.
      • getDescription

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

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

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

        LdapCertMapResult map​(netscape.ldap.LDAPConnection conn,
                              java.security.cert.X509Certificate cert,
                              boolean checkForCert)
                       throws com.netscape.certsrv.ldap.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:
        com.netscape.certsrv.ldap.ELdapException - Failed to map.