|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPublisherProcessor
Controls the publishing process from the top level. Maintains a collection of Publishers , Mappers, and Publish Rules.
Field Summary | |
---|---|
static java.lang.String |
PROP_CERTS
|
static java.lang.String |
PROP_CLASS
|
static java.lang.String |
PROP_ENABLE
|
static java.lang.String |
PROP_IMPL
|
static java.lang.String |
PROP_INSTANCE
|
static java.lang.String |
PROP_LDAP
|
static java.lang.String |
PROP_LDAP_PUBLISH_SUBSTORE
|
static java.lang.String |
PROP_LOCAL_CA
|
static java.lang.String |
PROP_LOCAL_CRL
|
static java.lang.String |
PROP_MAPPER
|
static java.lang.String |
PROP_PLUGIN
|
static java.lang.String |
PROP_PREDICATE
|
static java.lang.String |
PROP_PUBLISH_SUBSTORE
|
static java.lang.String |
PROP_PUBLISHER
|
static java.lang.String |
PROP_QUEUE_PUBLISH_SUBSTORE
|
static java.lang.String |
PROP_TYPE
|
static java.lang.String |
PROP_XCERT
|
Method Summary | |
---|---|
boolean |
enabled()
Return true of PublisherProcessor is enabled. |
ILdapMapper |
getActiveMapperInstance(java.lang.String insName)
Returns ILdapMapper instance that is currently active. |
ILdapPublisher |
getActivePublisherInstance(java.lang.String insName)
Returns ILdapPublisher instance that is currently active. |
ISubsystem |
getAuthority()
Return Authority for which this Processor operates. |
ILdapConnModule |
getLdapConnModule()
Returns LdapConnModule belonging to this Processor. |
java.util.Vector |
getMapperDefaultParams(java.lang.String implName)
Returns mapper initial default parameters. |
ILdapMapper |
getMapperInstance(java.lang.String insName)
Returns ILdapMapper instance based on name of MapperProxy. |
java.util.Vector |
getMapperInstanceParams(java.lang.String insName)
Returns mapper current instance parameters. |
java.util.Hashtable |
getMapperInsts()
Returns Hashtable of rule mapper instances. |
java.util.Hashtable |
getMapperPlugins()
Returns Hashtable of mapper plugins. |
java.util.Vector |
getPublisherDefaultParams(java.lang.String implName)
Returns publisher initial default parameters. |
ILdapPublisher |
getPublisherInstance(java.lang.String insName)
Returns ILdapPublisher instance. |
java.util.Vector |
getPublisherInstanceParams(java.lang.String insName)
Returns Vector of PublisherIntance's current instance parameters. |
java.util.Hashtable |
getPublisherInsts()
Returns Hashtable of rule publisher instances. |
java.util.Hashtable |
getPublisherPlugins()
Returns Hashtable of publisher plugins. |
java.util.Vector |
getRuleDefaultParams(java.lang.String implName)
Returns Vector of RulePlugin's initial default parameters. |
java.util.Vector |
getRuleInstanceParams(java.lang.String implName)
Returns Vector of RulePlugin's current instance parameters. |
java.util.Hashtable |
getRuleInsts()
Returns Hashtable of rule instances. |
java.util.Hashtable |
getRulePlugins()
Returns Hashtable of rule plugins. |
java.util.Enumeration |
getRules(java.lang.String publishingType)
Returns list of rules based on publishing type. |
java.util.Enumeration |
getRules(java.lang.String publishingType,
IRequest req)
Returns list of rules based on publishing type and publishing request. |
boolean |
isMapperInstanceEnable(java.lang.String insName)
Returns true if MapperInstance is enabled. |
boolean |
isPublisherInstanceEnable(java.lang.String insName)
Returns true publisher instance is currently enabled. |
boolean |
ldapEnabled()
Return true if Ldap is enabled. |
void |
log(int level,
java.lang.String msg)
Perform logging function for this Processor. |
void |
publishCACert(java.security.cert.X509Certificate cert)
Publish ca cert, UpdateDir.java, jobs, request listeners |
void |
publishCert(java.security.cert.X509Certificate cert,
IRequest req)
Publishs regular user certificate based on the criteria set in the request. |
void |
publishCRL(java.lang.String dn,
java.security.cert.X509CRL crl)
publishes a crl by mapping the issuer name in the crl to an entry and publishing it there. |
void |
publishCRL(netscape.security.x509.X509CRLImpl crl,
java.lang.String crlIssuingPointId)
publishes a crl by mapping the issuer name in the crl to an entry and publishing it there. |
void |
setLdapConnModule(ILdapConnModule m)
Sets the LdapConnModule belonging to this Processor. |
void |
setPublishedFlag(java.math.BigInteger serialNo,
boolean published)
Set published flag - true when published, false when unpublished. |
void |
unpublishCACert(java.security.cert.X509Certificate cert)
This function is never called. |
void |
unpublishCert(java.security.cert.X509Certificate cert,
IRequest req)
Unpublish user certificate. |
Methods inherited from interface com.netscape.certsrv.base.ISubsystem |
---|
getConfigStore, getId, init, setId, shutdown, startup |
Field Detail |
---|
static final java.lang.String PROP_PUBLISH_SUBSTORE
static final java.lang.String PROP_LDAP_PUBLISH_SUBSTORE
static final java.lang.String PROP_QUEUE_PUBLISH_SUBSTORE
static final java.lang.String PROP_LOCAL_CA
static final java.lang.String PROP_LOCAL_CRL
static final java.lang.String PROP_CERTS
static final java.lang.String PROP_XCERT
static final java.lang.String PROP_CLASS
static final java.lang.String PROP_IMPL
static final java.lang.String PROP_PLUGIN
static final java.lang.String PROP_INSTANCE
static final java.lang.String PROP_PREDICATE
static final java.lang.String PROP_ENABLE
static final java.lang.String PROP_LDAP
static final java.lang.String PROP_MAPPER
static final java.lang.String PROP_PUBLISHER
static final java.lang.String PROP_TYPE
Method Detail |
---|
java.util.Hashtable getRulePlugins()
java.util.Hashtable getRuleInsts()
java.util.Hashtable getMapperPlugins()
java.util.Hashtable getPublisherPlugins()
java.util.Hashtable getMapperInsts()
java.util.Hashtable getPublisherInsts()
java.util.Enumeration getRules(java.lang.String publishingType)
publishingType
- Type for which to retrieve rule list.java.util.Enumeration getRules(java.lang.String publishingType, IRequest req)
publishingType
- Type for which to retrieve rule list.req
- Corresponding publish request.java.util.Vector getMapperDefaultParams(java.lang.String implName) throws ELdapException
implName
- name of MapperPlugin.
ELdapException
java.util.Vector getMapperInstanceParams(java.lang.String insName) throws ELdapException
insName
- name of MapperProxy.
ELdapException
- failed due to Ldap error.java.util.Vector getPublisherDefaultParams(java.lang.String implName) throws ELdapException
implName
- name of PublisherPlugin.
ELdapException
- failed due to Ldap error.boolean isMapperInstanceEnable(java.lang.String insName)
insName
- name of MapperProxy.
ILdapMapper getActiveMapperInstance(java.lang.String insName)
insName
- name of MapperProxy.
ILdapMapper getMapperInstance(java.lang.String insName)
insName
- name of MapperProxy.
boolean isPublisherInstanceEnable(java.lang.String insName)
insName
- name of PublisherProxy.
ILdapPublisher getActivePublisherInstance(java.lang.String insName)
insName
- name of PublisherProxy.
ILdapPublisher getPublisherInstance(java.lang.String insName)
insName
- name of PublisherProxy.
java.util.Vector getPublisherInstanceParams(java.lang.String insName) throws ELdapException
insName
- name of PublisherProxy.
ELdapException
java.util.Vector getRuleDefaultParams(java.lang.String implName) throws ELdapException
implName
- name of RulePlugin.
ELdapException
- failed due to Ldap error.java.util.Vector getRuleInstanceParams(java.lang.String implName) throws ELdapException
implName
- name of RulePlugin.
ELdapException
- failed due to Ldap error.void setPublishedFlag(java.math.BigInteger serialNo, boolean published)
serialNo
- serial number of publishable object.published
- true for published, false for not.void publishCACert(java.security.cert.X509Certificate cert) throws ELdapException
cert
- X509 certificate to be published.
ELdapException
- publish failed due to Ldap error.void unpublishCACert(java.security.cert.X509Certificate cert) throws ELdapException
ELdapException
void publishCert(java.security.cert.X509Certificate cert, IRequest req) throws ELdapException
cert
- X509 certificate to be published.req
- request which provides the criteria
ELdapException
- publish failed due to Ldap error.void unpublishCert(java.security.cert.X509Certificate cert, IRequest req) throws ELdapException
cert
- X509 certificate to be unpublished.req
- request which provides the criteria
ELdapException
- unpublish failed due to Ldap error.void publishCRL(netscape.security.x509.X509CRLImpl crl, java.lang.String crlIssuingPointId) throws ELdapException
crl
- Certificate Revocation ListcrlIssuingPointId
- name of the issuing point.
ELdapException
- publish failed due to Ldap error.void publishCRL(java.lang.String dn, java.security.cert.X509CRL crl) throws ELdapException
dn
- Distinguished name to publish.crl
- Certificate Revocation List
ELdapException
- publish failed due to Ldap error.boolean ldapEnabled()
boolean enabled()
ISubsystem getAuthority()
void log(int level, java.lang.String msg)
level
- Log level to be used for this messagemsg
- Message to be logged.ILdapConnModule getLdapConnModule()
void setLdapConnModule(ILdapConnModule m)
m
- ILdapConnModule.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |