Package com.netscape.cmscore.usrgrp
Class CertDNCertUserLocator
- java.lang.Object
-
- com.netscape.cmscore.usrgrp.CertDNCertUserLocator
-
- All Implemented Interfaces:
CertUserLocator
public class CertDNCertUserLocator 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 "certdn" field which contains the subject dn of the certificate- Version:
- $Revision$, $Date$
- Author:
- cfu
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
LDAP_ATTR_CERTDN
-
Constructor Summary
Constructors Constructor Description CertDNCertUserLocator()
Constructs certificate matching agent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Retrieves description.User
locateUser(Certificates certs)
Do the cert-user mapping
-
-
-
Field Detail
-
LDAP_ATTR_CERTDN
protected static final java.lang.String LDAP_ATTR_CERTDN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
public java.lang.String 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
-
-