Package com.netscape.certsrv.publish
Interface ILdapPublisher
-
- All Superinterfaces:
ILdapPlugin
- All Known Implementing Classes:
FileBasedPublisher,LdapCaCertPublisher,LdapCertificatePairPublisher,LdapCertSubjPublisher,LdapCrlPublisher,LdapUserCertPublisher,OCSPPublisher
public interface ILdapPublisher extends ILdapPlugin
Interface for publishing certificate or crl to database store.- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROP_ENABLEstatic java.lang.StringPROP_IMPLNAMEstatic java.lang.StringPROP_PREDICATE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Vector<java.lang.String>getDefaultParams()Returns the initial default parameters.java.lang.StringgetDescription()Returns the description of the publisher.java.lang.StringgetImplName()Returns the implementation name.java.util.Vector<java.lang.String>getInstanceParams()Returns the current instance parameters.voidpublish(netscape.ldap.LDAPConnection conn, java.lang.String dn, java.lang.Object object)Publish an object.voidunpublish(netscape.ldap.LDAPConnection conn, java.lang.String dn, java.lang.Object object)Unpublish an object.-
Methods inherited from interface com.netscape.certsrv.publish.ILdapPlugin
getConfigStore, init
-
-
-
-
Field Detail
-
PROP_PREDICATE
static final java.lang.String PROP_PREDICATE
- See Also:
- Constant Field Values
-
PROP_ENABLE
static final java.lang.String PROP_ENABLE
- See Also:
- Constant Field Values
-
PROP_IMPLNAME
static final java.lang.String PROP_IMPLNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getImplName
java.lang.String getImplName()
Returns the implementation name.
-
getDescription
java.lang.String getDescription()
Returns the description of the publisher.
-
getInstanceParams
java.util.Vector<java.lang.String> getInstanceParams()
Returns the current instance parameters.
-
getDefaultParams
java.util.Vector<java.lang.String> getDefaultParams()
Returns the initial default parameters.
-
publish
void publish(netscape.ldap.LDAPConnection conn, java.lang.String dn, java.lang.Object object) throws ELdapExceptionPublish an object.- Parameters:
conn- a Ldap connection (null for non-LDAP publishing)dn- dn of the ldap entry to publish cert (null for non-LDAP publishing)object- object to publish (java.security.cert.X509Certificate or, java.security.cert.X509CRL)- Throws:
ELdapException- publish failed.
-
unpublish
void unpublish(netscape.ldap.LDAPConnection conn, java.lang.String dn, java.lang.Object object) throws ELdapExceptionUnpublish an object.- Parameters:
conn- the Ldap connection (null for non-LDAP publishing)dn- dn of the ldap entry to unpublish cert (null for non-LDAP publishing)object- object to unpublish (java.security.cert.X509Certificate)- Throws:
ELdapException- unpublish failed.
-
-