com.netscape.cms.servlet.admin
Class PublisherAdminServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.netscape.cms.servlet.admin.AdminServlet
              extended by com.netscape.cms.servlet.admin.PublisherAdminServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PublisherAdminServlet
extends AdminServlet

A class representing an publishing servlet for the Publishing subsystem. This servlet is responsible to serve configuration requests for the Publishing subsystem.

Version:
$Revision: 1688 $, $Date: 2011-01-04 17:23:23 -0800 (Tue, 04 Jan 2011) $
See Also:
Serialized Form

Field Summary
static java.lang.String NOMAPPER
           
static java.lang.String PROP_AUTHORITY
           
 
Fields inherited from class com.netscape.cms.servlet.admin.AdminServlet
AUTHZ_CONFIG_STORE, AUTHZ_MGR_BASIC, AUTHZ_MGR_LDAP, AUTHZ_RES_NAME, AUTHZ_SRC_LDAP, AUTHZ_SRC_TYPE, AUTHZ_SRC_XML, CERT_ATTR, ERROR, mAclMethod, mAuthz, mConfig, mLogger, mOp, mSignedAuditLogger, mToken, PROP_ACL, PROP_AUTHZ_MGR, PROP_ID, RESTART, SIGNED_AUDIT_EMPTY_NAME_VALUE_PAIR, SIGNED_AUDIT_NAME_VALUE_DELIMITER, SIGNED_AUDIT_NAME_VALUE_PAIRS_DELIMITER, SIGNED_AUDIT_OPERATION, SIGNED_AUDIT_PASSWORD_VALUE, SIGNED_AUDIT_RESOURCE, SIGNED_AUDIT_RULENAME, SIGNED_AUDIT_SCOPE, SUCCESS
 
Constructor Summary
PublisherAdminServlet()
           
 
Method Summary
 java.lang.String getMapperPluginName(ILdapMapper mapper)
           
 java.lang.String getPublisherPluginName(ILdapPublisher pub)
           
 java.lang.String getRulePluginName(ILdapRule rule)
           
 java.lang.String getServletInfo()
          Returns serlvet information.
 void init(javax.servlet.ServletConfig config)
          Initializes this servlet.
 void log(int level, java.lang.String msg)
          logs an entry in the log file.
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          Serves HTTP admin request.
 
Methods inherited from class com.netscape.cms.servlet.admin.AdminServlet
audit, auditParams, auditSubjectID, authenticate, authorize, authorize, commit, convertStringArrayToNVPairs, getAuthCreds, getClassByNameAsExtendedPluginInfo, getConfig, getLocale, getParameter, listConfig, outputHttpParameters, sendResponse, setConfig, URLdecode
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_AUTHORITY

public static final java.lang.String PROP_AUTHORITY
See Also:
Constant Field Values

NOMAPPER

public static final java.lang.String NOMAPPER
See Also:
Constant Field Values
Constructor Detail

PublisherAdminServlet

public PublisherAdminServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Initializes this servlet.

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class AdminServlet
Throws:
javax.servlet.ServletException

getServletInfo

public java.lang.String getServletInfo()
Returns serlvet information.

Specified by:
getServletInfo in interface javax.servlet.Servlet
Overrides:
getServletInfo in class javax.servlet.GenericServlet

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse resp)
             throws javax.servlet.ServletException,
                    java.io.IOException
Serves HTTP admin request.

Overrides:
service in class AdminServlet
Throws:
javax.servlet.ServletException
java.io.IOException

getMapperPluginName

public java.lang.String getMapperPluginName(ILdapMapper mapper)

getRulePluginName

public java.lang.String getRulePluginName(ILdapRule rule)

getPublisherPluginName

public java.lang.String getPublisherPluginName(ILdapPublisher pub)

log

public void log(int level,
                java.lang.String msg)
logs an entry in the log file.