Package com.webmethods.sc.directory.cert
Interface ICertificateMapper
public interface ICertificateMapper
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMapping
(CertificateMapping mapping) Adds static ceritificate mappinggetMappingByCertificateID
(String certificateID, String mappingType) Gets all mappings for given certificateID and mappingTypegetMappingsByPrincipalID
(String principalID, String mappingType) Gets all mappings for given principalID and mappingTypevoid
removeMapping
(CertificateMapping mapping) Removes static certificate mapping
-
Method Details
-
addMapping
Adds static ceritificate mapping- Parameters:
mapping
-- Throws:
DirectoryException
-
removeMapping
Removes static certificate mapping- Parameters:
mapping
-- Throws:
DirectoryException
-
getMappingByCertificateID
IDirectoryPrincipal getMappingByCertificateID(String certificateID, String mappingType) throws DirectoryException Gets all mappings for given certificateID and mappingType- Parameters:
certificateID
-mappingType
- . May pass null to assume default mapping- Returns:
- directory principal object mapped to this certificate or null if not mapped
- Throws:
DirectoryException
-
getMappingsByPrincipalID
List<ICertificate> getMappingsByPrincipalID(String principalID, String mappingType) throws DirectoryException Gets all mappings for given principalID and mappingType- Parameters:
principalID
-mappingType
- . May pass null to assume default mapping- Returns:
- list of certificates mapped to given principals
- Throws:
DirectoryException
-