Package com.netscape.cmscore.usrgrp
Class ExactMatchCertUserLocator
java.lang.Object
com.netscape.cmscore.usrgrp.ExactMatchCertUserLocator
- 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 "description" field which contains a
stringied certificate.
- Version:
- $Revision$, $Date$
- Author:
- thomask, cfu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves description.locateUser
(Certificates certs) Do the cert-user mapping
-
Constructor Details
-
ExactMatchCertUserLocator
public ExactMatchCertUserLocator()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
-