Package com.netscape.cmscore.usrgrp
Class ExactMatchCertUserLocator
- java.lang.Object
-
- com.netscape.cmscore.usrgrp.ExactMatchCertUserLocator
-
- All Implemented Interfaces:
CertUserLocator
public class ExactMatchCertUserLocator extends java.lang.Object implements 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 Constructor Description ExactMatchCertUserLocator()
Constructs certificate matching agent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Retrieves description.IUser
locateUser(Certificates certs)
Do the cert-user mapping
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Retrieves description.- Specified by:
getDescription
in interfaceCertUserLocator
- Returns:
- description
-
locateUser
public IUser locateUser(Certificates certs) throws EUsrGrpException, netscape.ldap.LDAPException, com.netscape.certsrv.ldap.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 availablecom.netscape.certsrv.ldap.ELdapException
- thrown when the LDAP search failed
-
-