Package com.netscape.cmscore.usrgrp
Class CertDNCertUserLocator
java.lang.Object
com.netscape.cmscore.usrgrp.CertDNCertUserLocator
- All Implemented Interfaces:
CertUserLocator
This interface defines a strategy on how to match
the incoming certificate(s) with the certificate(s)
in the scope. It matches the "certdn" field which contains
the subject dn of the certificate
- Version:
- $Revision$, $Date$
- Author:
- cfu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves description.locateUser
(Certificates certs) Do the cert-user mapping
-
Field Details
-
LDAP_ATTR_CERTDN
- See Also:
-
-
Constructor Details
-
CertDNCertUserLocator
public CertDNCertUserLocator()Constructs certificate matching agent.
-
-
Method Details
-
getDescription
Retrieves description.- Specified by:
getDescription
in interfaceCertUserLocator
- Returns:
- description
-
locateUser
public User locateUser(Certificates certs) throws EUsrGrpException, netscape.ldap.LDAPException, ELdapException Do the cert-user mapping- Specified by:
locateUser
in interfaceCertUserLocator
- Returns:
- an user interface
- Throws:
EUsrGrpException
- thrown when failed to build usernetscape.ldap.LDAPException
- thrown when LDAP internal database is not availableELdapException
- thrown when the LDAP search failed
-